Skip to content

Commit

Permalink
fixes typo
Browse files Browse the repository at this point in the history
Signed-off-by: Jochen Mehlich <[email protected]>
  • Loading branch information
noriakisana committed Mar 26, 2024
1 parent becf025 commit 62aaa00
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions server/src/assets/game/script-game.js
Original file line number Diff line number Diff line change
Expand Up @@ -868,11 +868,15 @@ function initialise() {
});

// Set the possible destinations for the SWTbahn platform.
allPossibleDestinations = eval ("allPossibleDestinations-" + platform);
namedMap = "allPossibleDestinations_" + platform;
str = "allPossibleDestinations =" + namedMap;
eval (str);
namedMap = "signalFlagMap_" + platform;
str = "signalFlagMap =" + namedMap;
eval (str);

disableAllDestinationButtons();

// Set the signal to flag mapping.
signalFlagMap = eval("signalFlagMap-" + platform)

// Initialise the click handler of each destination button.
for (let i = 0; i < numberOfDestinationsMax; i++) {
Expand Down

0 comments on commit 62aaa00

Please sign in to comment.