fix: fix popup (#304)
This commit is contained in:
@@ -337,7 +337,9 @@ public abstract partial class SharedDoorSystem : EntitySystem
|
||||
Audio.PlayPvs(keyholeComponent.DoorLockedSound, uid, AudioParams.Default.WithVolume(-3));
|
||||
}
|
||||
|
||||
Popup.PopupEntity(Loc.GetString("door-locked-via-key", ("door", uid)), uid);
|
||||
if (user.HasValue)
|
||||
Popup.PopupEntity(Loc.GetString("door-locked-via-key", ("door", uid)), uid, user.Value);
|
||||
|
||||
return false;
|
||||
}
|
||||
// WD edit end
|
||||
@@ -858,4 +860,4 @@ public abstract partial class SharedDoorSystem : EntitySystem
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user