CelestialCartographers / Loenn

A Visual Map Maker and Level Editor for the game Celeste but better than the other one
MIT License
162 stars 21 forks source link

copying and pasting tiles crashes Loenn #54

Closed ghost closed 1 year ago

ghost commented 1 year ago

Video Stack trace: `Error

Editor version: 0.7.3 Love2d version: 11.4.0 - Mysterious Mysteries Operating system: Windows

tools/selection.lua:252: table index is nil

Traceback

[love "callbacks.lua"]:228: in function 'handler' tools/selection.lua:252: in function 'func' utils/drawing.lua:143: in function 'callKeepOriginalColor' tools/selection.lua:240: in function 'func' viewport_handler.lua:144: in function 'drawRelativeTo' tools/selection.lua:226: in function 'drawSelectionRectanglesCommon' tools/selection.lua:270: in function 'drawSelectionRectangles' tools/selection.lua:1406: in function <tools/selection.lua:1392> input_device.lua:28: in function 'propagateEvent' scenes/editor.lua:104: in function <scenes/editor.lua:87> scene_handler.lua:46: in function 'draw' selene_main.lua:32: in function 'draw' main.lua:85: in function [C]: in function 'xpcall'`

Cruor commented 1 year ago

Fixed in bb7f7949b2f199ad4b3c1fdca5be0483a30d2a00, thanks!