Skip to content

Commit 426afb7

Browse files
committed
Fix #16: Incorrect assignments for block/pre-signals for restricted signals
1 parent e33954b commit 426afb7

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

docs/changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
1.0.3
2+
-----
3+
* 수정: 폐색/사전 신호기에 경로 탐색 제한을 걸면 신호기가 돌아감 [#16]
4+
15
1.0.2
26
-----
37
* 수정: 경로 신호기와 단방향 경로 신호기의 그래픽이 바뀌어 있던 점 [#13]

src/electric/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@
99
# Electric, block
1010
print("Electric, block")
1111
output = output + replace_electric_signal('block', 1275)
12-
output = output + replace_electric_signal('block', 6262) # Restricted signal (with blue pole)
12+
output = output + replace_electric_signal('block', 6261) # Restricted signal (with blue pole)
1313

1414
# Electric, entrance
1515
print("Electric, entrance")
1616
output = output + replace_electric_signal('entrance', 5082)
17-
output = output + replace_electric_signal('entrance', 6278) # Restricted signal (with blue pole)
17+
output = output + replace_electric_signal('entrance', 6277) # Restricted signal (with blue pole)
1818

1919
# Electric, exit
2020
print("Electric, exit")
2121
output = output + replace_electric_signal('exit', 5098, 'Y')
22-
output = output + replace_electric_signal('exit', 6294, 'Y') # Restricted signal (with blue pole)
22+
output = output + replace_electric_signal('exit', 6293, 'Y') # Restricted signal (with blue pole)
2323

2424
# Electric, combo
2525
print("Electric, combo")
2626
output = output + replace_electric_signal('combo', 5114, 'YG')
27-
output = output + replace_electric_signal('combo', 6310, 'YG') # Restricted signal (with blue pole)
27+
output = output + replace_electric_signal('combo', 6309, 'YG') # Restricted signal (with blue pole)
2828

2929
# Electric, oneway path
3030
print("Electric, oneway path")

0 commit comments

Comments
 (0)