This commit is contained in:
Mister_Nebula 2020-08-09 12:44:23 +01:00
parent 48ef6ec360
commit 67316eb5b6
2 changed files with 0 additions and 6 deletions

View File

@ -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}.");
}
}

View File

@ -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)