better flying

This commit is contained in:
kepler155c@gmail.com
2019-02-14 11:06:54 -05:00
parent 68997b28a0
commit 152bb35cde
4 changed files with 24 additions and 27 deletions

View File

@@ -105,7 +105,7 @@ local function handleTransaction(transaction)
local uid = math.random()
print(string.format('requesting %d of %s', count, t.itemId))
os.queueEvent('shop_provide', t.itemId, count, uid)
local timerId = os.startTimer(5)
local timerId = os.startTimer(60)
while true do
local e, p1, p2 = os.pullEvent()
if e == 'timer' and p1 == timerId then