mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user