fix crash in spikes
parent
f5ecd91b58
commit
6af3139cfa
|
@ -8,7 +8,7 @@ else
|
|||
S = function ( s ) return s end
|
||||
end
|
||||
|
||||
function spikes:node_is_owned(pos, placer)
|
||||
function spikes.node_is_owned(pos, placer)
|
||||
local ownername = false
|
||||
if type(IsPlayerNodeOwner) == "function" then -- node_ownership mod
|
||||
if HasOwner(pos, placer) then -- returns true if the node is owned
|
||||
|
|
Loading…
Reference in New Issue