mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-04 03:39:55 +00:00
commit
28deb58d0e
@ -20,7 +20,7 @@ namespace QSB.Events
|
|||||||
|
|
||||||
private void OnClientReceiveMessage(PlayerStateMessage message)
|
private void OnClientReceiveMessage(PlayerStateMessage message)
|
||||||
{
|
{
|
||||||
if (message.FromId == PlayerRegistry.LocalPlayerId)
|
if (message.AboutId == PlayerRegistry.LocalPlayerId)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ namespace QSB
|
|||||||
public GameObject Camera { get; set; }
|
public GameObject Camera { get; set; }
|
||||||
public GameObject ProbeBody { get; set; }
|
public GameObject ProbeBody { get; set; }
|
||||||
public QSBProbe Probe { get; set; }
|
public QSBProbe Probe { get; set; }
|
||||||
public QSBFlashlight FlashLight => Camera.GetComponentInChildren<QSBFlashlight>();
|
public QSBFlashlight FlashLight => Camera?.GetComponentInChildren<QSBFlashlight>();
|
||||||
public QSBTool Signalscope => GetToolByType(ToolType.Signalscope);
|
public QSBTool Signalscope => GetToolByType(ToolType.Signalscope);
|
||||||
public QSBTool Translator => GetToolByType(ToolType.Translator);
|
public QSBTool Translator => GetToolByType(ToolType.Translator);
|
||||||
public QSBTool ProbeLauncher => GetToolByType(ToolType.ProbeLauncher);
|
public QSBTool ProbeLauncher => GetToolByType(ToolType.ProbeLauncher);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user