-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ammo counter HUD not updating properly, and some hard dels (#555)
* Fix for flavortext * changelog fix * Revert "changelog fix" This reverts commit 16fc8a3501f041d592fd94575c406312ec4f7715. * Testing ammo counter harddel * Update gun_hud_component.dm * Update gun_hud_component.dm * Update gun_hud_component.dm * Update gun_hud_component.dm * Update gun_hud_component.dm * Can't rely on that. * Fixes ammo hud not updating for self-reloading energy weapons * Revert "Fix for flavortext" This reverts commit fcbe257ebacbaaf750b3d78037afb30b6217bcfc. * Whoops * Update gun_hud_component.dm * Update gun_hud_component.dm
- Loading branch information
1 parent
17d9562
commit a133c8c
Showing
5 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
modular_nova/master_files/code/modules/projectiles/guns/energy/recharge.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// self-reloading weapons need their ammo hud updated whenever reload() is called | ||
/obj/item/gun/energy/recharge/reload() | ||
. = ..() | ||
SEND_SIGNAL(src, COMSIG_UPDATE_AMMO_HUD) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters