[MIRROR] Fixes bolt action guns getting phantom bullets chambered upon initialization. (#1319)

* 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.

* Fixes bolt action guns getting phantom bullets chambered upon initialization.

Co-authored-by: necromanceranne <40847847+necromanceranne@users.noreply.github.com>
This commit is contained in:
SkyratBot
2020-10-15 08:38:40 +02:00
committed by GitHub
parent 6055f1493c
commit 8b9c20a608

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)