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