Support list works on TFS 0.3.6 again.

This commit is contained in:
Znote 2020-02-29 14:56:24 +01:00
parent d186d513e0
commit d4538f0f1f

View File

@ -3,7 +3,7 @@
$cache = new Cache('engine/cache/support');
if ($cache->hasExpired()) {
// Fetch all staffs in-game.
if ($TFS == 'TFS_03') {
if ($config['ServerEngine'] == 'TFS_03') {
$staffs = support_list03();
} else $staffs = support_list();
// Fetch group ids and names from config.php