Scattershot antag fixes (#27429)
* scattershot antag fixes * this too? * dawg fuck this code * ok so we kinda need this?
This commit is contained in:
@@ -33,8 +33,8 @@ public sealed class PresetIdCardSystem : EntitySystem
|
||||
var station = _stationSystem.GetOwningStation(uid);
|
||||
|
||||
// If we're not on an extended access station, the ID is already configured correctly from MapInit.
|
||||
if (station == null || !Comp<StationJobsComponent>(station.Value).ExtendedAccess)
|
||||
return;
|
||||
if (station == null || !TryComp<StationJobsComponent>(station.Value, out var jobsComp) || !jobsComp.ExtendedAccess)
|
||||
continue;
|
||||
|
||||
SetupIdAccess(uid, card, true);
|
||||
SetupIdName(uid, card);
|
||||
|
||||
Reference in New Issue
Block a user