mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
update base:drop
This commit is contained in:
parent
f6be6689aa
commit
5f7a75bd7a
2 changed files with 11 additions and 1 deletions
|
|
@ -8,6 +8,9 @@ timer = 0.3
|
|||
|
||||
local def_index = entity:def_index()
|
||||
dropitem = ARGS
|
||||
if dropitem.item then
|
||||
dropitem.id = item.index(dropitem.item)
|
||||
end
|
||||
if dropitem then
|
||||
timer = dropitem.pickup_delay or timer
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue