mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-24 02:12:25 +01:00
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
|
||||
|
||||
function boat.get_staticdata()
|
||||
return tostring(v)
|
||||
function boat.get_staticdata(self)
|
||||
return tostring(self._v)
|
||||
end
|
||||
|
||||
function boat.on_punch(self, puncher, time_from_last_punch, tool_capabilities, direction)
|
||||
|
Loading…
Reference in New Issue
Block a user