Expunges if(TRUE) switch cases from the codebase (#94920)

## About The Pull Request

Its a boolean, switch case only makes sense if it can be a null (which
its not in any of these cases)

## Changelog

Not player facing
This commit is contained in:
SmArtKar
2026-01-26 11:32:56 -05:00
committed by GitHub
parent 66307d27c7
commit fd1eb276ae
3 changed files with 13 additions and 20 deletions
+4 -5
View File
@@ -221,11 +221,10 @@
. = ..()
if(selector_switch_icon)
switch(burst_fire_selection)
if(FALSE)
. += "[initial(icon_state)]_semi"
if(TRUE)
. += "[initial(icon_state)]_burst"
if(burst_fire_selection)
. += "[initial(icon_state)]_burst"
else
. += "[initial(icon_state)]_semi"
if(show_bolt_icon)
if (bolt_type == BOLT_TYPE_LOCKING)