update base:drop component

This commit is contained in:
MihailRis
2024-11-24 17:21:19 +03:00
parent bc17abc8b3
commit 81775f3304
2 changed files with 7 additions and 3 deletions
+4 -1
View File
@@ -3,10 +3,13 @@ local body = entity.rigidbody
local rig = entity.skeleton
inair = true
ready = false
target = -1
ready = false
local dropitem = ARGS
if dropitem then
ready = dropitem.ready
end
if SAVED_DATA.item then
dropitem.id = item.index(SAVED_DATA.item)
dropitem.count = SAVED_DATA.count