mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
Fixes modular guns not self-recharging until first shot is fired (#22567)
fixes #22025 - bugfix: "Modular energy guns with a reactor now self-recharge from assembly, instead of only starting after the first shot is fired." try_recharge is currently only triggered on fire and loops until charge is full. this triggers it when a modular gun is completed to initiate the recharging
This commit is contained in:
@@ -413,6 +413,7 @@
|
||||
A.forceMove(an)
|
||||
an.item = A
|
||||
A.updatetype()
|
||||
A.try_recharge()
|
||||
A.pin = null
|
||||
gun_mods = null
|
||||
focusing_lens = null
|
||||
|
||||
Reference in New Issue
Block a user