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
@@ -28,7 +28,7 @@ local module_verbose = false
local ThisModule = {}
-- Event Handlers Define
script.on_event(defines.events.on_player_created, function(event)
Event.add(defines.events.on_player_created, function(event)
local player = game.players[event.player_index]
if event.player_index == 1 then
player.force.friendly_fire = false