Skip to content

Commit

Permalink
[qa] fix typo in map links / selected sector for map
Browse files Browse the repository at this point in the history
  • Loading branch information
nroutasuo committed Mar 25, 2023
1 parent 06a27dd commit d630894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/systems/ui/UIOutMapSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ define([
if (!pos) {
let playerPos = this.playerPositionNodes.head.position.getPosition();
if (this.selectedSector) {
mapPosition = selectedSector.get(PositionComponent).getPosition();
mapPosition = this.selectedSector.get(PositionComponent).getPosition();
} else if (hasSelectedLevel && this.selectedLevel != playerPos.level) {
let campSector = GameGlobals.levelHelper.getCampSectorOnLevel(this.selectedLevel);
if (campSector) {
Expand Down

0 comments on commit d630894

Please sign in to comment.