mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-29 20:16:38 +09:00
Covnerted Event and Global
This commit is contained in:
@@ -31,7 +31,7 @@ function ChatPopup.sendFlyingText(player, text)
|
||||
end
|
||||
end
|
||||
|
||||
script.on_event(defines.events.on_console_chat, function(event)
|
||||
Event.add(defines.events.on_console_chat, function(event)
|
||||
if not event.player_index then return end
|
||||
local player = game.players[event.player_index]
|
||||
if not player then return end
|
||||
|
||||
Reference in New Issue
Block a user