Active item touched status is now saved in between game restarts

This commit is contained in:
Wofsauge committed 2022-03-22 23:00:18 +01:00
1 parent a13ee770c3
commit 55f5b11f26
2 files changed
+17 -2

No files matched your search

+1 -1
View File
@@ -1483,7 +1483,7 @@ function EID:evaluateQueuedItems()
if not EID.TouchedActiveItems[i] then
EID.TouchedActiveItems[i] = {LastTouch = 0}
end
if EID.TouchedActiveItems[i].LastTouch + 60 >= game:GetFrameCount() and player.QueuedItem.Item then
if EID.TouchedActiveItems[i].LastTouch + 45 >= game:GetFrameCount() and player.QueuedItem.Item then
return
else
EID.TouchedActiveItems[i].LastTouch = 0