mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-16 12:43:09 +00:00
[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:
@@ -98,7 +98,10 @@
|
|||||||
return
|
return
|
||||||
if (!magazine)
|
if (!magazine)
|
||||||
magazine = new mag_type(src)
|
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()
|
update_icon()
|
||||||
|
|
||||||
/obj/item/gun/ballistic/vv_edit_var(vname, vval)
|
/obj/item/gun/ballistic/vv_edit_var(vname, vval)
|
||||||
|
|||||||
Reference in New Issue
Block a user