diff options
| author | historia <[not public]> | 2026-09-18 18:38:35 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-18 18:38:35 -0400 |
| commit | 1f118d79e319da4e765502e9ca5b661772de94f1 (patch) | |
| tree | bca8a3fd1e538f1c302480511e6ba872c92e10b8 /internal/game/exit_migrate.go | |
| parent | 5ad42a51df4dcc5ccc3aa6a6d902085ce2ee4239 (diff) | |
| download | thehouseoficarus-1f118d79e319da4e765502e9ca5b661772de94f1.tar.gz | |
refactor: casino table core; fix: stake/migration/validation gaps
Diffstat (limited to 'internal/game/exit_migrate.go')
| -rw-r--r-- | internal/game/exit_migrate.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/game/exit_migrate.go b/internal/game/exit_migrate.go index 2c56d27..55289f2 100644 --- a/internal/game/exit_migrate.go +++ b/internal/game/exit_migrate.go @@ -183,6 +183,9 @@ func (g *Game) MigrateRoomIDsOnOwner(idMap map[int]int) { } g.World.RekeyRooms(idMap) g.MobStore.RekeyRooms(idMap) + if g.safespot != nil { + g.safespot.RekeyRooms(idMap) + } // The file paths changed under the world: rebuild its room index so // lookups agree with the post-migration layout. g.World.RebuildRoomIndex(g.DataDir) |
