Misc/Fixup

* fixed typo when trying to include file for CharStats handling
This commit is contained in:
Sarjuuk
2025-05-14 21:53:19 +02:00
parent 44e0b6c62d
commit a8e1e3cf19

View File

@@ -48,7 +48,7 @@ spl_autoload_register(function ($class)
if (preg_match('/[^\w]/i', $class))
return;
if ($class == 'Stats' || $class == 'StatsContainer') // entity statistics conversion
if ($class == 'Stat' || $class == 'StatsContainer') // entity statistics conversion
require_once 'includes/game/chrstatistics.php';
else if (file_exists('includes/game/'.strtolower($class).'.class.php'))
require_once 'includes/game/'.strtolower($class).'.class.php';