dont use nil globals, pass no args to Entity:New() instead

This commit is contained in:
binarycat
2022-02-26 13:21:52 -05:00
committed by lustlion
parent 1580dc3463
commit 4efc99659c
8 changed files with 8 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
Decoration = Entity:New(x,y)
Decoration = Entity:New()
function Decoration:New(x,y,animation,lightRange)
local o = Entity:New(x,y)