mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-12-01 21:15:20 +08:00
Misc/Fixup
* fixed typo when trying to include file for CharStats handling
This commit is contained in:
@@ -48,7 +48,7 @@ spl_autoload_register(function ($class)
|
|||||||
if (preg_match('/[^\w]/i', $class))
|
if (preg_match('/[^\w]/i', $class))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if ($class == 'Stats' || $class == 'StatsContainer') // entity statistics conversion
|
if ($class == 'Stat' || $class == 'StatsContainer') // entity statistics conversion
|
||||||
require_once 'includes/game/chrstatistics.php';
|
require_once 'includes/game/chrstatistics.php';
|
||||||
else if (file_exists('includes/game/'.strtolower($class).'.class.php'))
|
else if (file_exists('includes/game/'.strtolower($class).'.class.php'))
|
||||||
require_once 'includes/game/'.strtolower($class).'.class.php';
|
require_once 'includes/game/'.strtolower($class).'.class.php';
|
||||||
|
|||||||
Reference in New Issue
Block a user