mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Holopads no longer suck in unsuspecting people when crowbared (#85139)
## About The Pull Request Closes #80183 This is a generic fix for future cases instead of a holopad-specific one, but for now it only affects holopads. Non-dense machinery no longer sucks people in when closed. ## Changelog 🆑 fix: Holopads no longer suck in unsuspecting people when crowbared /🆑
This commit is contained in:
@@ -413,6 +413,10 @@
|
||||
/obj/machinery/proc/close_machine(atom/movable/target, density_to_set = TRUE)
|
||||
state_open = FALSE
|
||||
set_density(density_to_set)
|
||||
if (!density)
|
||||
update_appearance()
|
||||
return
|
||||
|
||||
if(!target)
|
||||
for(var/atom in loc)
|
||||
if (!(can_be_occupant(atom)))
|
||||
|
||||
Reference in New Issue
Block a user