Commit d445f1c5 authored by Chunchi Che's avatar Chunchi Che

fix

parent facd3bfb
Pipeline #20743 passed with stages
in 20 minutes and 6 seconds
......@@ -141,7 +141,7 @@ export function extendOccupant<T extends DuelFieldState>(
const target = state.inner.find((_, idx) => idx == sequence);
if (target) {
target.occupant = newMeta;
if (position) {
if (typeof position !== "undefined") {
target.location.position = position;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment