mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-10 12:39:53 +00:00
fixed the marker bug (#139)
This commit is contained in:
parent
f2d26e4b05
commit
fdb638054e
@ -45,7 +45,6 @@ namespace QSB.Events
|
||||
private void OnClientReceiveMessage(EventMessage message)
|
||||
{
|
||||
var player = PlayerRegistry.GetPlayer(message.SenderId);
|
||||
player.IsReady = true;
|
||||
if (message.SenderId == PlayerRegistry.LocalPlayer.NetId)
|
||||
{
|
||||
return;
|
||||
|
@ -48,7 +48,6 @@ namespace QSB.Events
|
||||
{
|
||||
var player = PlayerRegistry.CreatePlayer(message.SenderId);
|
||||
player.Name = message.PlayerName;
|
||||
player.IsReady = true;
|
||||
DebugLog.ToAll(message.PlayerName, "joined!");
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ namespace QSB
|
||||
public QSBTool Translator => GetToolByType(ToolType.Translator);
|
||||
public QSBTool ProbeLauncher => GetToolByType(ToolType.ProbeLauncher);
|
||||
public string Name { get; set; }
|
||||
public bool IsReady { get; set; }
|
||||
public bool IsReady => Body != null;
|
||||
public State State { get; private set; }
|
||||
|
||||
public PlayerInfo(uint id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user