Update World Info on Submit

Still VERY far from ideal for multiplayer, only one person can realistically edit it at a time. Whoever submits counts. Will need more major interface changes so things can be submitted one by one. But hey, it works and its good enough for a group of friends to play the game :D
This commit is contained in:
henk717 2021-08-20 17:51:49 +02:00
parent f12e3576a8
commit 68836728d4
1 changed files with 1 additions and 0 deletions

View File

@ -1316,6 +1316,7 @@ def togglewimode():
# Then set UI state back to Play # Then set UI state back to Play
vars.mode = "play" vars.mode = "play"
emit('from_server', {'cmd': 'wimode', 'data': 'false'}, broadcast=True) emit('from_server', {'cmd': 'wimode', 'data': 'false'}, broadcast=True)
sendwi()
#==================================================================# #==================================================================#
# #