fix crash in spikes

master
Vanessa Ezekowitz 2013-11-14 16:08:38 -05:00
parent f5ecd91b58
commit 6af3139cfa
1 changed files with 1 additions and 1 deletions

View File

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