mirror of
https://github.com/TF-Panda/tf.git
synced 2025-12-30 16:30:18 -06:00
fix respawn time label
the server sends the respawn time in their context, which is network time
This commit is contained in:
@@ -352,7 +352,7 @@ class DistributedTFPlayerOV(DistributedTFPlayer):
|
||||
if self.respawnTime < 0:
|
||||
text += TFLocalizer.RespawnWaitNewRound
|
||||
else:
|
||||
timeLeft = int(self.respawnTime - base.clockMgr.getTime())
|
||||
timeLeft = int(self.respawnTime - base.clockMgr.getNetworkTime())
|
||||
if timeLeft <= 0:
|
||||
text += TFLocalizer.RespawnWait
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user