Fix #70 TFS 1.0 Set position

This commit is contained in:
Znote
2019-11-14 23:17:57 +01:00
parent 1c557585a0
commit 6e9cfef9ff
2 changed files with 50 additions and 35 deletions

View File

@@ -3,7 +3,9 @@
$cache = new Cache('engine/cache/support');
if ($cache->hasExpired()) {
// Fetch all staffs in-game.
$staffs = support_list();
if ($TFS == 'TFS_03') {
$staffs = support_list03();
} else $staffs = support_list();
// Fetch group ids and names from config.php
$groups = $config['ingame_positions'];
// Loops through groups, separating each group element into an ID variable and name variable