фиксы апстрима
This commit is contained in:
parent
8d0ab85920
commit
721766319c
5 changed files with 9 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ using Content.Server.Station.Components;
|
|||
using Content.Server.Station.Systems;
|
||||
using Content.Shared._Sunrise.SunriseCCVars;
|
||||
using Content.Shared.Bed.Cryostorage;
|
||||
using Content.Shared.GameTicking;
|
||||
using Content.Shared.Mobs;
|
||||
using Content.Shared.Mobs.Components;
|
||||
using Robust.Server.GameObjects;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ using Content.Server.Cargo.Components;
|
|||
using Content.Server.Cargo.Systems;
|
||||
using Content.Server.GameTicking;
|
||||
using Content.Server.Station.Events;
|
||||
using Content.Shared.GameTicking;
|
||||
using Robust.Shared.Containers;
|
||||
|
||||
namespace Content.Server._Sunrise.DontSellingGrid;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
using Content.Server.GameTicking;
|
||||
using Content.Server.Station.Systems;
|
||||
using Content.Shared.GameTicking;
|
||||
using Content.Shared.Roles;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
using Content.Server.GameTicking;
|
||||
using Content.Server.Station.Systems;
|
||||
using Content.Shared.GameTicking;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Content.Sunrise.Interfaces.Shared;
|
||||
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ public sealed class PlayerSpawnCompleteEvent : EntityEventArgs
|
|||
public EntityUid Station { get; }
|
||||
public HumanoidCharacterProfile Profile { get; }
|
||||
|
||||
public bool CanBeAntag { get; } // Sunrise-Edit
|
||||
|
||||
// Ex. If this is the 27th person to join, this will be 27.
|
||||
public int JoinOrder { get; }
|
||||
|
||||
|
|
@ -30,7 +32,8 @@ public sealed class PlayerSpawnCompleteEvent : EntityEventArgs
|
|||
bool silent,
|
||||
int joinOrder,
|
||||
EntityUid station,
|
||||
HumanoidCharacterProfile profile)
|
||||
HumanoidCharacterProfile profile,
|
||||
bool canBeAntag)
|
||||
{
|
||||
Mob = mob;
|
||||
Player = player;
|
||||
|
|
@ -40,5 +43,6 @@ public sealed class PlayerSpawnCompleteEvent : EntityEventArgs
|
|||
Station = station;
|
||||
Profile = profile;
|
||||
JoinOrder = joinOrder;
|
||||
CanBeAntag = canBeAntag;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue