summaryrefslogtreecommitdiff
path: root/WebInterface/wasm/webhogg/update.py
diff options
context:
space:
mode:
authornatrixaeria <janng@gmx.de>2019-06-02 08:52:36 +0200
committernatrixaeria <janng@gmx.de>2019-06-02 08:52:36 +0200
commit5ded8b3c6813268dd44afa5a782c55f8a4f5ecae (patch)
tree36f7d1b6782a047cc153bb2628566226aed184bd /WebInterface/wasm/webhogg/update.py
parent0f7da3a189085cd16f90b210d0bb06798f715a57 (diff)
Add communicating between worker wasms
Diffstat (limited to 'WebInterface/wasm/webhogg/update.py')
-rw-r--r--WebInterface/wasm/webhogg/update.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebInterface/wasm/webhogg/update.py b/WebInterface/wasm/webhogg/update.py
index 0a0171f..aad9395 100644
--- a/WebInterface/wasm/webhogg/update.py
+++ b/WebInterface/wasm/webhogg/update.py
@@ -9,7 +9,7 @@ def rf(fn):
return c
nc = rf('pkg/webhogg.js')
-m1 = rf('loader.js')
+m1 = rf('game_logic.js')
m2 = rf('graphics.js')
nc = nc.split('function init(module) {')[0].strip('\n')
@@ -22,7 +22,7 @@ nc += '\n' * 2 + ISC
m1 = nc + m1
m2 = nc + m2
-with open('loader.js', 'w') as f:
+with open('game_logic.js', 'w') as f:
f.write(m1)
with open('graphics.js', 'w') as f: