mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-05 13:15:03 +02:00
Whisper notice - don't run on non-comfy backend
This commit is contained in:
parent
28c4c97e17
commit
b1476730d9
@ -118,6 +118,11 @@ local function on_console_command(event)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local secs = Server.get_current_time()
|
||||||
|
if not secs then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
local player = game.get_player(event.player_index)
|
local player = game.get_player(event.player_index)
|
||||||
|
|
||||||
local gui_data = get_player_data(player)
|
local gui_data = get_player_data(player)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user