Covnerted Event and Global

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

No files matched your search

+1 -1
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})