* display phaseMask as hexadecimal
  * hide phasemasks, containing every single phase (0xFFFF)
This commit is contained in:
Sarjuuk
2015-07-09 23:29:20 +02:00
parent 0cb5d6b896
commit f6d80cf473

View File

@@ -580,8 +580,8 @@ trait spawnHelper
if (User::isInGroup(U_GROUP_STAFF))
{
if ($s['phaseMask'] > 1)
$label[] = Lang::game('phases').Lang::main('colon').$s['phaseMask'];
if ($s['phaseMask'] > 1 && ($s['phaseMask'] & 0xFFFF) != 0xFFFF)
$label[] = Lang::game('phases').Lang::main('colon').Util::asHex($s['phaseMask']);
if ($s['spawnMask'] == 15)
$label[] = Lang::game('mode').Lang::main('colon').Lang::game('modes', -1);