1
0
Fork 0

Fixed typo in mcl_damage

Fixed typo that invalidated the cached reason for damage
This commit is contained in:
Nicu 2023-07-30 09:16:02 +00:00 committed by Johannes Fritz
parent f9eb31ed46
commit a99daf4294
1 changed files with 2 additions and 2 deletions

View File

@ -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