Respawn time now only displays numbers, centered below CPHUD.

This commit is contained in:
William Moberg
2016-03-02 16:45:43 +01:00
parent 95078b6a4b
commit dc10661e6b
2 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ void PlayerSpawnSystem::Update(double dt)
EntityWrapper respawnTimer = spectatorCam.FirstChildByName("RespawnTimer");
if (respawnTimer.Valid()) {
//Update respawn time in the HUD element.
respawnTimer["Text"]["Content"] = "Time to respawn: " + std::to_string(1 + (int)(maxRespawnTime - timer));
respawnTimer["Text"]["Content"] = std::to_string(1 + (int)(maxRespawnTime - timer));
}
}
}