mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue