mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-08-18 21:14:11 +02:00
Fixed typo in mcl_damage
Fixed typo that invalidated the cached reason for damage
This commit is contained in:
parent
f9eb31ed46
commit
a99daf4294
@ -96,8 +96,8 @@ function mcl_damage.finish_reason(mcl_reason)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function mcl_damage.from_mt(mt_reason)
|
function mcl_damage.from_mt(mt_reason)
|
||||||
if mt_reason._mcl_chached_reason then
|
if mt_reason._mcl_cached_reason then
|
||||||
return mt_reason._mcl_chached_reason
|
return mt_reason._mcl_cached_reason
|
||||||
end
|
end
|
||||||
|
|
||||||
local mcl_reason
|
local mcl_reason
|
||||||
|
Loading…
Reference in New Issue
Block a user