refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-10-24 20:50:10 +02:00
parent 489c528327
commit 1033d15eae
29 changed files with 189 additions and 189 deletions
+2 -2
View File
@@ -60,7 +60,7 @@ function post_auction(slot, k)
end
end
function public.stop()
function M.stop()
if state then
kill_thread(state.thread_id)
@@ -75,7 +75,7 @@ function public.stop()
end
end
function public.start(item_key, stack_size, duration, unit_start_price, unit_buyout_price, count, callback)
function M.start(item_key, stack_size, duration, unit_start_price, unit_buyout_price, count, callback)
stop()
state = {
thread_id = thread(process),