Skip to content

Commit

Permalink
update welding tool and eguns gunhuds (#205)
Browse files Browse the repository at this point in the history
## About The Pull Request
Смена режима стрельбы обновляет ганхуд у еганов
Вкл/выкл сварки обновляет ганхуд
  • Loading branch information
larentoun authored Apr 22, 2024
1 parent 2c10018 commit b83f7b3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions modular_bandastation/gunhud/code/gunhud_component.dm
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,18 @@
. = ..()
AddComponent(/datum/component/gunhud)

/obj/item/gun/energy/recharge_newshot(no_cyborg_drain)
. = ..()
SEND_SIGNAL(src, COMSIG_UPDATE_GUNHUD)

/obj/item/weldingtool/Initialize(mapload)
. = ..()
AddComponent(/datum/component/gunhud)

/obj/item/weldingtool/set_welding(new_value)
. = ..()
SEND_SIGNAL(src, COMSIG_UPDATE_GUNHUD)

/obj/item/weldingtool/use(used)
. = ..()
SEND_SIGNAL(src, COMSIG_UPDATE_GUNHUD)

0 comments on commit b83f7b3

Please sign in to comment.