1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-30 04:40:54 +02:00

Whisper notice - don't run on non-comfy backend

This commit is contained in:
Gerkiz 2024-04-07 18:36:34 +02:00
parent 28c4c97e17
commit b1476730d9

View File

@ -118,6 +118,11 @@ local function on_console_command(event)
return
end
local secs = Server.get_current_time()
if not secs then
return
end
local player = game.get_player(event.player_index)
local gui_data = get_player_data(player)