1
0
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:
James Gillham 2017-08-26 12:32:49 +01:00
parent 103e4c89f7
commit b363f4aa05

View File

@ -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