aboutsummaryrefslogtreecommitdiff
path: root/src/room_editor.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/room_editor.lua')
-rw-r--r--src/room_editor.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/room_editor.lua b/src/room_editor.lua
index 1aee150..e13bb69 100644
--- a/src/room_editor.lua
+++ b/src/room_editor.lua
@@ -135,7 +135,7 @@ end
local function get_snapped_to_grid(room_editor, x, y)
if room_editor.entity_snap then
- return snap(x, TILESIZE), snap(y, TILESIZE)
+ return snap(x, TILESIZE/4), snap(y, TILESIZE/4)
else
-- Still snap to the pixel cause yes
return round(x), round(y)