mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
add isDead property
This commit is contained in:
parent
271e3916d5
commit
8dd96ae06b
@ -50,6 +50,8 @@ namespace QSB.DeathSync
|
||||
return;
|
||||
}
|
||||
|
||||
player.IsDead = true;
|
||||
|
||||
_playersPendingRespawn.Add(player);
|
||||
UpdateRespawnNotification();
|
||||
|
||||
@ -64,6 +66,8 @@ namespace QSB.DeathSync
|
||||
return;
|
||||
}
|
||||
|
||||
player.IsDead = false;
|
||||
|
||||
_playersPendingRespawn.Remove(player);
|
||||
UpdateRespawnNotification();
|
||||
|
||||
|
@ -55,6 +55,7 @@ namespace QSB.Player
|
||||
public bool IsInMoon; // TODO : move into PlayerStates?
|
||||
public bool IsInShrine; // TODO : move into PlayerStates?
|
||||
public IQSBQuantumObject EntangledObject;
|
||||
public bool IsDead { get; set; }
|
||||
|
||||
public PlayerInfo(uint id)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user