mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
repair to places array length
This commit is contained in:
parent
00f4e92e06
commit
336f28e014
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ function actionStartEvent(event) {
|
|||
if (panelStringIndex != -1) {
|
||||
var panelIndex = parseInt(panelName.slice(5));
|
||||
var placeIndex = panelIndexToPlaceIndex(panelIndex);
|
||||
if (placeIndex < place.length) {
|
||||
if (placeIndex < places.length) {
|
||||
var actionPlace = places[placeIndex];
|
||||
|
||||
print("Jumping to " + actionPlace.name + " at " + actionPlace.address
|
||||
|
|
Loading…
Reference in a new issue