mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-08 16:31:55 +00:00
Fixes bug with circuit board name display (#9312)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#ifdef T_BOARD
|
||||
#error T_BOARD already defined elsewhere, we can't use it.
|
||||
#endif
|
||||
#define T_BOARD(name) "circuit board (" + (name) + ")"
|
||||
#define T_BOARD(name) "" + "circuit board " + "(" + (name) + ")"
|
||||
|
||||
/obj/item/circuitboard
|
||||
name = "circuit board"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifdef T_BOARD_MECHA
|
||||
#error T_BOARD_MECHA already defined elsewhere, we can't use it.
|
||||
#endif
|
||||
#define T_BOARD_MECHA(name) "exosuit module circuit board (" + (name) + ")"
|
||||
#define T_BOARD_MECHA(name) "" + "exosuit module circuit board " + "(" + (name) + ")"
|
||||
|
||||
/obj/item/circuitboard/mecha
|
||||
name = "exosuit circuit board"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#define T_BOARD_MECHA(name) "vehicle software (" + (name) + ")"
|
||||
#define T_BOARD_MECHA(name) "" + "vehicle software " + "(" + (name) + ")"
|
||||
|
||||
/obj/item/circuitboard/exosystem
|
||||
name = "vehicle software template"
|
||||
|
||||
6
html/changelogs/armrha-pr-circuitfix.yml
Normal file
6
html/changelogs/armrha-pr-circuitfix.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
author: armrha
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- rscadd: "Modified the define function to bypass bug from http://www.byond.com/forum/post/2061007 where the preprocessor inappropriately interprets a parenthesis in a string so that circuitboards display their type and name properly again"
|
||||
Reference in New Issue
Block a user