Skip to content

Commit

Permalink
[MIRROR] Fixes disarming airbags as a ghost (#5204)
Browse files Browse the repository at this point in the history
* Fixes disarming airbags as a ghost (#4638)

Update window_airbag.dm

* [MIRROR] Fixes disarming airbags as a ghost

---------

Co-authored-by: 1393F <[email protected]>
Co-authored-by: StealsThePRs <[email protected]>
  • Loading branch information
3 people authored Nov 29, 2024
1 parent 705a392 commit 2f0419a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modular_nova/modules/window_airbags/code/window_airbag.dm
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
/datum/element/airbag/proc/on_altclick(atom/movable/clicked_atom, mob/living/clicker)
SIGNAL_HANDLER

if(!clicker.can_interact_with(clicked_atom))
if(!clicker.can_interact_with(clicked_atom) || !clicker.can_perform_action(clicked_atom, ALLOW_RESTING))
return
INVOKE_ASYNC(src, PROC_REF(disarm_airbag), clicked_atom, clicker)

Expand Down

0 comments on commit 2f0419a

Please sign in to comment.