Covnerted Event and Global

This commit is contained in:
Cooldude2606
2019-02-24 21:28:33 +00:00
parent fc279c42f8
commit 1cb2a3c3a0
35 changed files with 97 additions and 78 deletions

View File

@@ -124,7 +124,7 @@ function popup.on_post()
end)
end
script.on_event(defines.events.on_player_joined_game,popup.flow)
Event.add(defines.events.on_player_joined_game,popup.flow)
-- calling will attempt to add a new popup style
return setmetatable(popup,{__call=function(self,...) return self.add(...) end})