mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-30 23:03:45 +01: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
|
||||
|
||||
function mcl_damage.from_mt(mt_reason)
|
||||
if mt_reason._mcl_chached_reason then
|
||||
return mt_reason._mcl_chached_reason
|
||||
if mt_reason._mcl_cached_reason then
|
||||
return mt_reason._mcl_cached_reason
|
||||
end
|
||||
|
||||
local mcl_reason
|
||||
|
Loading…
Reference in New Issue
Block a user