1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-28 07:20:33 +02:00

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

View File

@ -23,7 +23,7 @@ home.sethome = function(name)
return true return true
end 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 end
home.tohome = function(name) home.tohome = function(name)
@ -45,7 +45,7 @@ home.tohome = function(name)
return true return true
end 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 else
minetest.chat_send_player(name, "Set a home using /sethome") minetest.chat_send_player(name, "Set a home using /sethome")
return false return false