fix airlocks/shutters, again (#6386)

This commit is contained in:
Leon Friedrich
2022-01-30 20:30:24 +13:00
committed by GitHub
parent 790a204980
commit 21a5bce90d
2 changed files with 13 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ public abstract class SharedDoorSystem : EntitySystem
SubscribeLocalEvent<DoorComponent, PreventCollideEvent>(PreventCollision);
}
private void OnInit(EntityUid uid, DoorComponent door, ComponentInit args)
protected virtual void OnInit(EntityUid uid, DoorComponent door, ComponentInit args)
{
// if the door state is not standard (i.e., door starts open), make sure collision & occlusion are properly set.
if (door.State == DoorState.Open)