Merge pull request #183 from Raicuparta/alek/dc-wut

stuff
This commit is contained in:
Mister_Nebula 2020-08-17 21:04:04 +01:00 committed by GitHub
commit 28deb58d0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ namespace QSB.Events
private void OnClientReceiveMessage(PlayerStateMessage message)
{
if (message.FromId == PlayerRegistry.LocalPlayerId)
if (message.AboutId == PlayerRegistry.LocalPlayerId)
{
return;
}

View File

@ -12,7 +12,7 @@ namespace QSB
public GameObject Camera { get; set; }
public GameObject ProbeBody { 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 Translator => GetToolByType(ToolType.Translator);
public QSBTool ProbeLauncher => GetToolByType(ToolType.ProbeLauncher);