mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 01:21:05 +01:00
Fix return value of get_compass_image()
.
* `get_compass_image()` did not actually return the image number.
This commit is contained in:
parent
14c882f982
commit
74e70b674e
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ function mcl_compass.get_compass_image(pos, dir)
|
|||
minetest.log("warning", "mcl_compass: deprecated function " ..
|
||||
"get_compass_image() called, use get_compass_itemname().")
|
||||
local itemstack = ItemStack(mcl_compass.stereotype)
|
||||
local frame = get_compass_frame(pos, dir, itemstack)
|
||||
return get_compass_frame(pos, dir, itemstack)
|
||||
end
|
||||
|
||||
--- Get compass itemname.
|
||||
|
|
Loading…
Reference in a new issue