* fixed wrong name of the skill in highscores for balance (was showing "level" instead of "balance")

This commit is contained in:
slawkens 2018-06-01 13:59:47 +02:00
parent 05e15ce9ad
commit 8ce791368c

View File

@ -81,6 +81,7 @@ else
break;
case 'level':
case 'experience':
$skill = POT::SKILL_LEVEL;
break;
@ -180,7 +181,7 @@ else
<td class="white"><b>Outfit</b></td>
<?php endif; ?>
<td width="75%" class="white"><b>Name</b></td>
<td width="15%" class="white"><b><?php echo ($skill != SKILL_FRAGS ? 'Level' : $skill == SKILL_BALANCE ? 'Balance' : 'Frags'); ?></b></td>
<td width="15%" class="white"><b><?php echo ($skill != SKILL_FRAGS && $skill != SKILL_BALANCE ? 'Level' : ($skill == SKILL_BALANCE ? 'Balance' : 'Frags')); ?></b></td>
<?php if($skill == POT::SKILL__LEVEL): ?>
<td class="white"><b>Points</b></td>
<?php endif; ?>