mirror of
https://github.com/Lacustat/Freewood-OctoWoW-Codex.git
synced 2026-10-31 00:16:57 +00:00
0.1.144: Wegenetz - Karten-ID per Zonenname aufloesen, Label zuruecksetzen
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016onJCSHLwhs9udhC9ZLzk9
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
eae43ba1d1
commit
5a209a3d8a
+4
-1
@@ -473,7 +473,10 @@ function PM.Refresh()
|
||||
layer:Show()
|
||||
local mapID = CurrentMapID()
|
||||
local canvas = Canvas()
|
||||
if not (mapID and canvas) then return end
|
||||
if not (mapID and canvas) then
|
||||
label:SetText(FW.L.CODEX_PATHMAP_NONE) -- nicht die Zeile der vorherigen Karte stehen lassen
|
||||
return
|
||||
end
|
||||
local width, height = canvas:GetWidth() or 1, canvas:GetHeight() or 1
|
||||
if width < 2 or height < 2 then return end
|
||||
local res = PM.Compute(mapID)
|
||||
|
||||
Reference in New Issue
Block a user