Fix undeclared global in mcl_boats

This commit is contained in:
Wuzzy 2017-02-28 02:19:35 +01:00
parent bcfa28cc33
commit 754b93026b
1 changed files with 2 additions and 2 deletions

View File

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