зеркало из
https://bitbucket.org/minetest_gamers/x_enchanting.git
synced 2025-12-14 15:48:31 +01:00
Fix distance measure for scroll
Этот коммит содержится в:
@@ -535,6 +535,7 @@ minetest.register_entity('x_enchanting:table_scroll', {
|
||||
local distance = vector.distance(pos, obj:get_pos())
|
||||
|
||||
if distance < shortest_distance then
|
||||
shortest_distance = distance
|
||||
self._player = obj
|
||||
end
|
||||
end
|
||||
|
||||
Ссылка в новой задаче
Block a user