mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-18 03:21:47 +02:00
commit
49b15978ba
@ -90,9 +90,11 @@ local function kill(cmd)
|
||||
end
|
||||
end
|
||||
|
||||
if global.walking[player.index] == true or global.walking[target.index] == true then
|
||||
player.print("A player on walkabout cannot be killed by a mere fish, don't waste your efforts.")
|
||||
return
|
||||
if global.walking then
|
||||
if global.walking[player.index] == true or global.walking[target.index] == true then
|
||||
player.print("A player on walkabout cannot be killed by a mere fish, don't waste your efforts.")
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
if not target and player then
|
||||
|
@ -1,4 +1,3 @@
|
||||
local global = {}
|
||||
local Task = require 'utils.Task'
|
||||
local Game = require 'utils.game'
|
||||
local Event = require 'utils.event'
|
||||
|
Loading…
x
Reference in New Issue
Block a user