Skip to content

Commit

Permalink
test probably bugged....
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien committed Aug 18, 2023
1 parent f4719de commit 1163870
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/game/objects/items/storage/belt.dm
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
return FALSE
return ..()

/obj/item/storage/belt/gun/flaregun/has_room(obj/item/W as obj, W_class_override = null)

if(istype(new_item, /obj/item/device/flashlight/flare) && length(holstered_guns) > 0 && length(contents) >= storage_slots)
return FALSE
return ..()

/obj/item/storage/belt/equipped(mob/user, slot)
switch(slot)
if(WEAR_WAIST, WEAR_J_STORE, WEAR_BACK)
Expand Down

0 comments on commit 1163870

Please sign in to comment.