1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-26 03:52:00 +02:00

Fixed missing forcetuggle function head

This commit is contained in:
Maik Wild 2017-09-28 01:07:17 +02:00
parent 2d260dd4bb
commit 4677278c87

View File

@ -366,6 +366,7 @@ local function toggle_tp_mode(cmd)
end
global.old_force = {}
local function forcetoggle(cmd)
if not game.player or not (game.player.admin or is_mod(game.player.name)) then
cant_run(cmd.name)
return