mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-03-13 07:14:19 +00:00
Merge branch 'dev' into nh-stuff
This commit is contained in:
commit
f1315cea49
@ -1,5 +1,6 @@
|
||||
using QSB.Messaging;
|
||||
using QSB.Player;
|
||||
using QSB.Player.TransformSync;
|
||||
using static QSB.ShipSync.Messages.ShipIgnitionMessage;
|
||||
|
||||
namespace QSB.ShipSync.Messages;
|
||||
@ -24,7 +25,7 @@ internal class ShipIgnitionMessage : QSBMessage<ShipIgnitionType>
|
||||
|
||||
private static void Handler(ShipIgnitionType type)
|
||||
{
|
||||
if (QSBPlayerManager.LocalPlayer.FlyingShip)
|
||||
if (PlayerTransformSync.LocalInstance && QSBPlayerManager.LocalPlayer.FlyingShip)
|
||||
{
|
||||
new ShipIgnitionMessage(type).Send();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user