Skip to content
Snippets Groups Projects
Commit 04485b54 authored by Tai Kedzierski's avatar Tai Kedzierski
Browse files

properly declare the custom function

parent 035f7262
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
dmobs.dragon = {}
local step_custom = function(self, dtime)
dmobs.dragon.step_custom = function(self, dtime)
if self.driver then
lib_mount.drive(self, dtime, "walk", "stand", true)
if self.state == "attack" then
......@@ -45,7 +45,7 @@ dmobs.dragon.on_rc = function(self, clicker)
if mobs:feed_tame(self, clicker, 1, false, false) then
return
end
dmobs.dragon.ride(self,clicker)
dmobs.dragon.ride(self, clicker)
end
dmobs.dragon.do_custom = function(self, dtime)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment