Skip to content

Commit

Permalink
Update code/modules/projectiles/guns/ballistic.dm
Browse files Browse the repository at this point in the history
waa

Co-authored-by: Theos <[email protected]>
Signed-off-by: Martinpachu <[email protected]>
  • Loading branch information
Martinpachu and SomeguyManperson authored May 17, 2024
1 parent 99f9b4f commit c6b73a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/projectiles/guns/ballistic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@

/obj/item/gun/ballistic/Initialize()
. = ..()
if (!spawnwithmagazine && !istype(magazine, /obj/item/ammo_box/magazine/internal))
if (!spawnwithmagazine && !ispath(mag_type, /obj/item/ammo_box/magazine/internal))
bolt_locked = TRUE
update_appearance()
return
Expand Down

0 comments on commit c6b73a5

Please sign in to comment.