Sync update on rocket Launch

This commit is contained in:
Cooldude2606
2018-09-04 21:14:30 +01:00
parent ae95bb2a66
commit 3a52ef2a65

View File

@@ -306,6 +306,7 @@ end)
script.on_event('on_player_joined_game',Sync.emit_update)
script.on_event('on_pre_player_left_game',Sync.emit_update)
script.on_event('on_rocket_launched',Sync.emit_update)
function Sync:on_init()
if loaded_modules['ExpGamingCore.Gui'] then verbose('ExpGamingCore.Gui is installed; Loading gui src') require(module_path..'/src/gui',{Sync=Sync}) end