mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-25 15:35:22 +00:00
fixes
This commit is contained in:
parent
48ef6ec360
commit
67316eb5b6
@ -17,7 +17,6 @@ namespace QSB.Events
|
||||
{
|
||||
var player = PlayerRegistry.CreatePlayer(message.SenderId);
|
||||
player.Name = message.PlayerName;
|
||||
player.IsReady = true;
|
||||
DebugLog.ToAll($"{player.Name} joined!");
|
||||
}
|
||||
|
||||
@ -25,7 +24,6 @@ namespace QSB.Events
|
||||
{
|
||||
var player = PlayerRegistry.CreatePlayer(PlayerTransformSync.LocalInstance.netId.Value);
|
||||
player.Name = message.PlayerName;
|
||||
player.IsReady = true;
|
||||
DebugLog.ToAll($"Connected to server as {player.Name}.");
|
||||
}
|
||||
}
|
||||
|
@ -48,11 +48,7 @@ namespace QSB
|
||||
public static void HandleFullStateMessage(FullStateMessage message)
|
||||
{
|
||||
var player = GetPlayer(message.SenderId) ?? CreatePlayer(message.SenderId);
|
||||
DebugLog.ToConsole($"Player Id {message.SenderId} ----------------", OWML.Common.MessageType.Info);
|
||||
player.Name = message.PlayerName;
|
||||
DebugLog.ToConsole($"Name : {player.Name}", OWML.Common.MessageType.Info);
|
||||
player.IsReady = message.IsReady;
|
||||
DebugLog.ToConsole($"IsReady : {player.IsReady}", OWML.Common.MessageType.Info);
|
||||
}
|
||||
|
||||
public static TransformSync.TransformSync GetTransformSync(uint id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user