Skip to content

Commit

Permalink
fezfzg
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien committed Aug 18, 2023
1 parent 1163870 commit c15ce69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/game/objects/items/storage/belt.dm
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@

/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
if(istype(new_item, /obj/item/device/flashlight/flare) && length(holstered_guns) < 1 && length(contents) >= (storage_slots-1))
return FALSE //No slot open because gun in holster.
return ..()

/obj/item/storage/belt/equipped(mob/user, slot)
Expand Down

0 comments on commit c15ce69

Please sign in to comment.