fix the last change of action_timer|sethome do not return results and the sounds sethome|gethome were no longer played

This commit is contained in:
crabman77 2015-11-29 23:36:33 +01:00
parent 50170dcaff
commit fba60e122e
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ home.sethome = function(name)
return true
end
action_timers.wrapper(name, "sethome", "sethome_" .. name, home.time, assign_home, {})
return action_timers.wrapper(name, "sethome", "sethome_" .. name, home.time, assign_home, {})
end
home.tohome = function(name)
@ -45,7 +45,7 @@ home.tohome = function(name)
return true
end
action_timers.wrapper(name, "home", "home_" .. name, home.time, go_to_home, {})
return action_timers.wrapper(name, "home", "home_" .. name, home.time, go_to_home, {})
else
minetest.chat_send_player(name, "Set a home using /sethome")
return false