Re-fix quirk config

This commit is contained in:
Celestora 2021-10-09 22:28:59 +03:00
parent 86b5dab940
commit 06216eb477

View file

@ -52,7 +52,7 @@ function ovkGetQuirk(string $quirk): int
if(!$quirks)
$quirks = chandler_parse_yaml(__DIR__ . "/quirks.yml");
return isset($v = $quirks[$quirk]) ? (int) $v : 0;
return is_null($v = $quirks[$quirk]) ? (int) $v : 0;
}
function ovk_proc_strtr(string $string, int $length = 0): string