Skip to content

Commit d363e98

Browse files
authored
Fix wrong info on signals (#23)
1 parent 8afa8a6 commit d363e98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/users/cc-tweaked-integration/train/train-signal.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Gets the train signal's currently displayed signal, as how the trains see it.
2020

2121
**Returns**
2222

23-
- `string` The color of the signal currently displayed - either "GREEN" or "RED".
23+
- `string` The color of the signal currently displayed - either "RED", "GREEN" or "YELLOW" (Only on CROSS_SIGNAL types).
2424

2525

2626
### `isForcedRed()` {#isForcedRed}
@@ -42,7 +42,7 @@ Goes back to default behaviour when losing connection with the computer.
4242

4343
### `getSignalType()` {#getSignalType}
4444

45-
Gets the train signal's signal type (Normally toggled witha wrench) as how the trains see it.
45+
Gets the train signal's signal type (Normally toggled with a wrench) as how the trains see it.
4646

4747
**Returns**
4848
- `string` The signal type - either "ENTRY_SIGNAL" or "CROSS_SIGNAL".
@@ -70,5 +70,5 @@ Triggers whenever the signal changes.
7070

7171
**Returns**
7272

73-
- `string` Name of the signal it switched to, either "RED" or "GREEN".
73+
- `string` Name of the signal it switched to, either "RED", "GREEN" or "YELLOW" (Only on CROSS_SIGNAL types).
7474

0 commit comments

Comments
 (0)