Change the behavior of no loading cart

This commit is contained in:
Robert Miles 2018-08-05 15:43:08 -04:00
parent 489a87476b
commit 098dd64e81
1 changed files with 3 additions and 1 deletions

View File

@ -1,8 +1,10 @@
local Cart = {
update = function() end,
draw = function() end,
draw = function() rectfill(0,0,5,5) rectfill(5,0,5,5) rectfill(10,0,5,5) rectfill(0,5,5,5) rectfill(0,10,5,5) rectfill(5,10,5,5) rectfill(0,15,5,5) rectfill(0,20,5,5) end,
}
sandbox(Cart.draw)
local function split(str)
local lines = {}
for s in str:gmatch("[^\r\n]+") do