download window QoL
This commit is contained in:
parent
e3403538fa
commit
2cee7df57f
@ -141,6 +141,7 @@ function onLoad(savedData)
|
|||||||
|
|
||||||
resetChaosTokenStatTracker()
|
resetChaosTokenStatTracker()
|
||||||
getModVersion()
|
getModVersion()
|
||||||
|
onClick_refreshList()
|
||||||
math.randomseed(os.time())
|
math.randomseed(os.time())
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -724,9 +725,10 @@ function complete_obj_download(request, params)
|
|||||||
if replaced_object then
|
if replaced_object then
|
||||||
local pos = replaced_object.getPosition()
|
local pos = replaced_object.getPosition()
|
||||||
local rot = replaced_object.getRotation()
|
local rot = replaced_object.getRotation()
|
||||||
|
local scale = replaced_object.getScale()
|
||||||
destroyObject(replaced_object)
|
destroyObject(replaced_object)
|
||||||
Wait.frames(function()
|
Wait.frames(function()
|
||||||
spawnObjectJSON({json = json, position = pos, rotation = rot})
|
spawnObjectJSON({ json = json, position = pos, rotation = rot, scale = scale })
|
||||||
end, 1)
|
end, 1)
|
||||||
else
|
else
|
||||||
spawnObjectJSON({json = json})
|
spawnObjectJSON({json = json})
|
||||||
|
Loading…
Reference in New Issue
Block a user