伊予若宮信号場関係でバグが発生していたのを修正

This commit is contained in:
harukin-expo-dev-env 2025-02-22 05:24:07 +00:00
parent 45e14274cb
commit a4eda11b2d

View File

@ -291,6 +291,18 @@ export const EachTrainInfoCore = ({
} else if (pos[1] == "児島" && pos[0] == "宇多津") {
setCurrentPosition(["Y09", "M12"]);
return;
}else if (pos[1] == "伊予若宮" && pos[0] == "伊予白滝") {
setCurrentPosition(["S18", "S14"]);
return;
} else if (pos[1] == "伊予白滝" && pos[0] == "伊予若宮") {
setCurrentPosition(["S14", "S18"]);
return;
}else if (pos[1] == "伊予大洲" && pos[0] == "伊予若宮") {
setCurrentPosition(["U14", "U14"]);
return;
}else if (pos[1] == "伊予若宮" && pos[0] == "伊予大洲") {
setCurrentPosition(["U14", "U14"]);
return;
}
const currentPosID = Object.keys(originalStationList).map((key) => {
let firstStation = false;