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
|
||||||
end
|
end
|
||||||
|
|
||||||
if global.walking[player.index] == true or global.walking[target.index] == true then
|
if global.walking then
|
||||||
player.print("A player on walkabout cannot be killed by a mere fish, don't waste your efforts.")
|
if global.walking[player.index] == true or global.walking[target.index] == true then
|
||||||
return
|
player.print("A player on walkabout cannot be killed by a mere fish, don't waste your efforts.")
|
||||||
|
return
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if not target and player then
|
if not target and player then
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
local global = {}
|
|
||||||
local Task = require 'utils.Task'
|
local Task = require 'utils.Task'
|
||||||
local Game = require 'utils.game'
|
local Game = require 'utils.game'
|
||||||
local Event = require 'utils.event'
|
local Event = require 'utils.event'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user