mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 21:35:04 +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) {
|
if (panelStringIndex != -1) {
|
||||||
var panelIndex = parseInt(panelName.slice(5));
|
var panelIndex = parseInt(panelName.slice(5));
|
||||||
var placeIndex = panelIndexToPlaceIndex(panelIndex);
|
var placeIndex = panelIndexToPlaceIndex(panelIndex);
|
||||||
if (placeIndex < place.length) {
|
if (placeIndex < places.length) {
|
||||||
var actionPlace = places[placeIndex];
|
var actionPlace = places[placeIndex];
|
||||||
|
|
||||||
print("Jumping to " + actionPlace.name + " at " + actionPlace.address
|
print("Jumping to " + actionPlace.name + " at " + actionPlace.address
|
||||||
|
|
Loading…
Reference in a new issue