mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-06 01:00:16 +00:00
fix QSBTool nre
This commit is contained in:
parent
a6bd9d800f
commit
ddc96a9332
@ -48,7 +48,7 @@ public class QSBTool : PlayerTool
|
|||||||
|
|
||||||
public virtual void OnEnable()
|
public virtual void OnEnable()
|
||||||
{
|
{
|
||||||
if (!Player.FlyingShip)
|
if (!Player?.FlyingShip ?? false)
|
||||||
{
|
{
|
||||||
ToolGameObject?.SetActive(true);
|
ToolGameObject?.SetActive(true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user