forked from VoxeLibre/VoxeLibre
Fix undeclared global in mcl_boats
This commit is contained in:
parent
bcfa28cc33
commit
754b93026b
|
@ -50,8 +50,8 @@ function boat.on_activate(self, staticdata, dtime_s)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function boat.get_staticdata()
|
function boat.get_staticdata(self)
|
||||||
return tostring(v)
|
return tostring(self._v)
|
||||||
end
|
end
|
||||||
|
|
||||||
function boat.on_punch(self, puncher, time_from_last_punch, tool_capabilities, direction)
|
function boat.on_punch(self, puncher, time_from_last_punch, tool_capabilities, direction)
|
||||||
|
|
Reference in New Issue