spelling fix: comp.. compar... КОМПАРАТОР

This commit is contained in:
neckrat 2026-04-23 21:58:48 +03:00
parent f59f32bd70
commit 77f5a2abdc
2 changed files with 3 additions and 3 deletions

View File

@ -168,7 +168,7 @@ local function new(data)
--- @param other Effect
--- @return boolean
function newEffect:__eq(other)
return utils.deepComprasion(self, other)
return utils.deepComparison(self, other)
end
return newEffect

View File

@ -78,10 +78,10 @@ end
--- @param t1 table
--- @param t2 table
--- @return boolean
function P.deepComprasion(t1, t2)
function P.deepComparison(t1, t2)
for k, v in pairs(t1) do
if type(v) == "table" and type(t2[k]) == "table" then
return P.deepComprasion(v, t2[k])
return P.deepComparison(v, t2[k])
end
if t2[k] ~= v then
return false