Decouple interactions from hands, cleanup old events, add new fears (#28393)
* ok basic shit * second part * pretend it isn't real it can't hurt you. * 👁️ 👁️ * shadowcommander review
This commit is contained in:
@@ -215,7 +215,7 @@ public abstract partial class SharedDoorSystem : EntitySystem
|
||||
#region Interactions
|
||||
protected void OnActivate(EntityUid uid, DoorComponent door, ActivateInWorldEvent args)
|
||||
{
|
||||
if (args.Handled || !door.ClickOpen)
|
||||
if (args.Handled || !args.Complex || !door.ClickOpen)
|
||||
return;
|
||||
|
||||
if (!TryToggleDoor(uid, door, args.User, predicted: true))
|
||||
|
||||
Reference in New Issue
Block a user