mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2139] [Issue]: Game mode — party map marker no longer auto-syncs to the narrated location #1049
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#1049
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Romuromylus on GitHub (Jun 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2139
Originally assigned to: @cha1latte on GitHub.
Summary
Severity: major. The location-driven map-marker auto-sync (
syncGameMapMetaPartyPosition) was not ported. The party marker now only moves when the GM emits a literal[map_update:]tag; when the GM narrates arrival via the world-statelocationfield without that tag (common), the map silently desyncs.Expected behavior
As in main: two mechanisms keep the marker aligned — (1) explicit
[map_update:]tags, and (2) a location-driven auto-sync that reads the structuredlocationfield each turn, fuzzy-matches it against map nodes/cells, moves the marker, and marks nodes discovered, even with no tag.Actual behavior
Only mechanism (1) survives.
syncGameMapPartyPosition,syncGameMapMetaPartyPosition, andgameMapContainsLocationare absent from the refactor (grep across src + src-tauri = 0). The only consumer (GameSurface.tsx:3720-3722) runs solely on a parsed[map_update:]tag.Steps to reproduce
locationupdates, but the output contains no[map_update:]tag.Impact area
Environment
refactor@14894608main@c49f1d95(legacy web app)Regression notes
Worked in the legacy web app.
packages/server/src/services/game/map-position.service.ts:229-386, wired atgame.routes.ts:2641,generate.routes.ts:8848,generate/retry-agents-route.ts:1440.src/engine/modes/game/world/map-position.service.tsretains only the explicit-tag path; the three sync functions are absent.