Skip to content

Commit

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

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

Expand Down

0 comments on commit cfccaa8

Please sign in to comment.