From 1d59b3623ee17318161f5b7e7e13b37cf308e074 Mon Sep 17 00:00:00 2001 From: flamendless Date: Sun, 18 Jul 2021 09:30:22 +0800 Subject: [PATCH] Fixed typos --- pubsub.lua | 2 +- timer.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pubsub.lua b/pubsub.lua index e0220ec..e52f975 100644 --- a/pubsub.lua +++ b/pubsub.lua @@ -31,7 +31,7 @@ end --subscribe to an event --can be a specifically named event, or "everything" to get notified for any event ---for "everything", the callback will recieve the event name as the first argument +--for "everything", the callback will receive the event name as the first argument function pubsub:subscribe(event, callback) local callbacks = self.subscriptions[event] if not callbacks then diff --git a/timer.lua b/timer.lua index 961ac6c..07712cc 100644 --- a/timer.lua +++ b/timer.lua @@ -14,7 +14,7 @@ local timer = class({ }) --create a timer, with optional callbacks ---callbacks recieve as arguments: +--callbacks receive as arguments: -- the current progress as a number from 0 to 1, so can be used for lerps -- the timer object, so can be reset if needed function timer:new(time, on_progress, on_finish)