Fix OTHIRE bug introduced in last commit.

This commit is contained in:
Znote 2020-02-26 20:02:59 +01:00
parent 94223f5ac0
commit 36bd6f6ad1

View File

@ -185,9 +185,7 @@ if (isset($_GET['name']) === true && empty($_GET['name']) === false) {
: " `p`.`soul`, `p`.`stamina`,"; : " `p`.`soul`, `p`.`stamina`,";
if ($config['client'] < 780) { if ($config['client'] < 780) {
$soulStamina = (in_array($config['ServerEngine'], ['TFS_10'])) $soulStamina = " 0 AS `soul`, 0 AS `stamina`,";
? " 0 AS `soul`, 0 AS `stamina`,"
: " 0 AS `p`.`soul`, 0 AS `p`.`stamina`,";
} }
$player_query = (in_array($config['ServerEngine'], ['TFS_10'])) $player_query = (in_array($config['ServerEngine'], ['TFS_10']))