mirror of
https://github.com/motajs/template.git
synced 2026-11-02 15:04:30 +08:00
refactor: TileStore
This commit is contained in:
1 parent
501a598de0
commit
13fc4e1b7c
12 files changed
+588
-64
No files matched your search
@@ -372,7 +372,7 @@ export function initFallback() {
|
||||
if (core.status.replay.speed === 24) {
|
||||
cb();
|
||||
} else {
|
||||
const num = state.idNumberMap.get(id)!;
|
||||
const num = state.tileStore.idToNumber(id)!;
|
||||
const layer = state.maps.getLayerByAlias('event')!;
|
||||
layer.closeDoor(num, x, y).then(cb);
|
||||
|
||||
|
||||
Reference in new issue
Block a user