Fixes weapons with standard bolts, like Mosin Nagants, getting a chambered bullet when they shouldn't. (#54290)

Fixes bolt action guns getting phantom bullets chambered upon initialization.
This commit is contained in:
necromanceranne
2020-10-14 21:13:05 -07:00
committed by GitHub
parent 33b648f4db
commit eae72b14f2
+4 -1
View File
@@ -98,7 +98,10 @@
return
if (!magazine)
magazine = new mag_type(src)
chamber_round(replace_new_round = TRUE)
if(bolt_type == BOLT_TYPE_STANDARD)
chamber_round()
else
chamber_round(replace_new_round = TRUE)
update_icon()
/obj/item/gun/ballistic/vv_edit_var(vname, vval)