Fixed ExpGamingPlayer.playerList

This commit is contained in:
Cooldude2606
2018-10-14 21:05:59 +01:00
parent f02d0d5d37
commit 070f49b5ae

View File

@@ -132,8 +132,8 @@ script.on_event(defines.events.on_gui_click,function(event)
if Admin and Admin.allowed(event.player_index) then Admin.btn_flow(flow).caption = event.element.name end
end)
script.on_event(defines.events.on_player_joined_game,ThisModule.update)
script.on_event(defines.events.on_player_left_game,ThisModule.update)
script.on_event(defines.events.on_player_joined_game,function() ThisModule.update() end)
script.on_event(defines.events.on_player_left_game,function() ThisModule.update() end)
ThisModule.force_update = function() return ThisModule.Gui() end
-- when called it will queue an update to the player list