Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
E
ElvUI
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 38
    • Issues 38
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ElvUI Project
  • ElvUI
  • Merge Requests
  • !245

Closed
Created Aug 16, 2020 by Cynical BAER@CynicalBear🐻
  • Report abuse
Report abuse

Beta: Fix for mapinfo failing in Torghast and other zones without proper coordinates

  • Overview 2
  • Commits 1
  • Changes 1

On Beta in both Torghast and at the start of a new player experience (first 3 min on the ship) you get spammed with errors every time you move. Error produced is:

7255x ElvUI\Core\MapInfo.lua:111: attempt to index field '?' (a nil value)
[string "@ElvUI\Core\MapInfo.lua"]:111: in function `GetPlayerMapPos'
[string "@ElvUI\Core\MapInfo.lua"]:78: in function `MapInfo_CoordsUpdate'
[string "@ElvUI\Core\MapInfo.lua"]:40: in function `func'
[string "@ElvUI\Core\Core.lua"]:1161: in function <ElvUI\Core\Core.lua:1156>

This PR adds a guard against empty coordinates, thus effectively making the zones "restricted" as far as the consuming functions are concerned.

Edited Aug 16, 2020 by Cynical BAER
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: beta-map-fix