Avril112113 / Yodine

A project to emulate StarBase's data network system.
MIT License
10 stars 1 forks source link

Crash when code is pasted in that would exceed the 20 line limit #3

Closed Strikeeaglechase closed 4 years ago

Strikeeaglechase commented 4 years ago

Clicking low down on a chip then pasting in a multi-lined copy will cause the program to crash with the following error:

Error

devices/chip.lua:361: attempt to index a nil value

Traceback

devices/chip.lua:361: in function 'keypressedGUI'
main.lua:301: in function <main.lua:295>
[C]: in function 'xpcall'