mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
[MIRROR] Fridges don't open through sheer willpower anymore (#2614)
* what did he mean by this (#56042) Potato goofed 7 months ago so here's a fix (Fridges were defaulting to a force of true, which was... jank) * Fridges don't open through sheer willpower anymore Co-authored-by: spessbro <51048066+spessbro@users.noreply.github.com>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
. = ..()
|
||||
recursive_organ_check(src)
|
||||
|
||||
/obj/structure/closet/secure_closet/freezer/open(mob/living/user, force = TRUE)
|
||||
/obj/structure/closet/secure_closet/freezer/open(mob/living/user, force = FALSE)
|
||||
if(opened || !can_open(user, force)) //dupe check just so we don't let the organs decay when someone fails to open the locker
|
||||
return FALSE
|
||||
recursive_organ_check(src)
|
||||
@@ -64,7 +64,7 @@
|
||||
new /obj/item/food/meat/slab/monkey(src)
|
||||
|
||||
/obj/structure/closet/secure_closet/freezer/meat/open
|
||||
req_access = null
|
||||
req_access = list()
|
||||
locked = FALSE
|
||||
|
||||
/obj/structure/closet/secure_closet/freezer/gulag_fridge
|
||||
|
||||
Reference in New Issue
Block a user