mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-12 10:04:40 +02:00
fixed bug with toggle_tp_mode
This commit is contained in:
parent
103e4c89f7
commit
b363f4aa05
@ -346,7 +346,7 @@ end
|
||||
|
||||
Event.register(defines.events.on_built_entity, built_entity )
|
||||
|
||||
local function toggle_tp_mode()
|
||||
local function toggle_tp_mode(cmd)
|
||||
if not (game.player.admin or is_mod(game.player.name)) then
|
||||
cant_run(cmd.name)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user