mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
Update PlayerDeathMessage.cs
This commit is contained in:
parent
839b92a9d1
commit
ed2d1f1683
@ -11,7 +11,11 @@ namespace QSB.DeathSync.Messages
|
||||
{
|
||||
private int NecronomiconIndex;
|
||||
|
||||
public PlayerDeathMessage(DeathType type) => NecronomiconIndex = Necronomicon.GetRandomIndex(type);
|
||||
public PlayerDeathMessage(DeathType type)
|
||||
{
|
||||
Value = type;
|
||||
NecronomiconIndex = Necronomicon.GetRandomIndex(type);
|
||||
}
|
||||
|
||||
public override void Serialize(QNetworkWriter writer)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user