Merge pull request #118 from Mineplex-LLC/develop
Merge develop into project-cosmetics
This commit is contained in:
commit
324a967135
@ -1202,7 +1202,11 @@ public class UHC extends TeamGame
|
||||
{
|
||||
for (Player player : teamsAlive.get(0).GetPlayers(false))
|
||||
{
|
||||
int gems = Math.round((System.currentTimeMillis() - getPlayerIngameTime(player))/1000);
|
||||
long ingameTime = getPlayerIngameTime(player);
|
||||
if (ingameTime == 0)
|
||||
ingameTime = GetStateTime();
|
||||
|
||||
int gems = Math.round((System.currentTimeMillis() - ingameTime)/1000);
|
||||
AddGems(player, gems, "Winning Team", false, false);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user