update entities.spawn(...) semantics to the docs state

This commit is contained in:
MihailRis
2024-07-17 10:17:20 +03:00
parent 51a57d3d1f
commit 1b99a48849
9 changed files with 23 additions and 13 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ ready = false
target = -1
ARGS = ARGS or {}
local dropitem = ARGS.item or {}
local dropitem = ARGS
if SAVED_DATA.item then
dropitem.id = item.index(SAVED_DATA.item)
dropitem.count = SAVED_DATA.count