From 7e0a520f8efd748a13c277b3c39514aee07c74d2 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 13 Feb 2023 13:05:55 +0000 Subject: change blank and ubqorange tiles from false and true to 0 and 9 --- client/movement.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/movement.lua') diff --git a/client/movement.lua b/client/movement.lua index 78af5f0..3c9f104 100644 --- a/client/movement.lua +++ b/client/movement.lua @@ -71,7 +71,7 @@ local function collide_with_terrain(old_pos, try_pos, map, tries_remaining) local try_h = try_pos:to_hex():round() for near_h in try_h:iter_neighbours(1) do local tile = map:at(near_h) - if tile then + if tile ~= 0 then local d,gx,gy = hex_sdgf(try_pos, near_h) if d < PLAYER_SIZE then local push_dist = PLAYER_SIZE - d -- cgit v1.2.3