diff options
-rw-r--r-- | test-client/main.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-client/main.ts b/test-client/main.ts index 66e3e989..8d19be51 100644 --- a/test-client/main.ts +++ b/test-client/main.ts @@ -394,7 +394,7 @@ export function get_interact_target(): V2 | undefined { for (let ox = -1; ox <= 1; ox++) for (let oy = -1; oy <= 1; oy++) { const t = tiles.get([bx + ox, by + oy] + "") if (!t) continue - if (data.tile_interact[t.kind]) { + if (data.tile_interact[t.kind] || t.item) { const cx = (bx + ox + 0.5) const cy = (by + oy + 0.5) const dx = rx - cx |