mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
[MIRROR] Fixes machines not releasing their contents when opened (such as mobs), when they otherwise should. [MDB IGNORE] (#20059)
* Fixes machines not releasing their contents when opened (such as mobs), when they otherwise should. * e --------- Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
co-authored by
Timberpoes
Gandalf
parent
7459d70109
commit
4f983f9b2f
@@ -28,7 +28,7 @@
|
||||
return
|
||||
close_machine(target)
|
||||
|
||||
/obj/machinery/abductor/experiment/open_machine(density_to_set = FALSE)
|
||||
/obj/machinery/abductor/experiment/open_machine(drop = TRUE, density_to_set = FALSE)
|
||||
if(!state_open && !panel_open)
|
||||
..()
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
/obj/machinery/skill_station/relaymove(mob/living/user, direction)
|
||||
open_machine()
|
||||
|
||||
/obj/machinery/skill_station/open_machine(density_to_set = FALSE)
|
||||
/obj/machinery/skill_station/open_machine(drop = TRUE, density_to_set = FALSE)
|
||||
. = ..()
|
||||
interrupt_operation()
|
||||
|
||||
|
||||
@@ -173,7 +173,7 @@
|
||||
mod_unit = null
|
||||
open_machine()
|
||||
|
||||
/obj/machinery/mod_installer/open_machine(density_to_set = FALSE)
|
||||
/obj/machinery/mod_installer/open_machine(drop = TRUE, density_to_set = FALSE)
|
||||
if(state_open)
|
||||
return FALSE
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user