update component 'ARGS' variable default value
This commit is contained in:
@@ -8,7 +8,6 @@ inair = true
|
||||
ready = false
|
||||
target = -1
|
||||
|
||||
ARGS = ARGS or {}
|
||||
local dropitem = ARGS
|
||||
if SAVED_DATA.item then
|
||||
dropitem.id = item.index(SAVED_DATA.item)
|
||||
|
||||
@@ -2,7 +2,6 @@ local tsf = entity.transform
|
||||
local body = entity.rigidbody
|
||||
local rig = entity.skeleton
|
||||
|
||||
ARGS = ARGS or {}
|
||||
local blockid = ARGS.block
|
||||
if SAVED_DATA.block then
|
||||
blockid = SAVED_DATA.block
|
||||
|
||||
Reference in New Issue
Block a user