Fix teleport sounds when teleport fails (#155)

This commit is contained in:
Maksim
2020-07-10 21:58:45 +02:00
committed by GitHub
parent 04b2edceb4
commit f25426911d
2 changed files with 5 additions and 3 deletions

View File

@ -188,7 +188,9 @@ function unified_inventory.go_home(player)
local pos = unified_inventory.home_pos[player:get_player_name()]
if pos then
player:set_pos(pos)
return true
end
return false
end
-- register_craft