From b7d005fadc92b56b878f35806e69cb1ab1b12f2c Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Thu, 29 Apr 2021 23:53:35 +0100 Subject: [PATCH] Update expcore/datastore.lua Co-authored-by: mark9064 <30447455+mark9064@users.noreply.github.com> --- expcore/datastore.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expcore/datastore.lua b/expcore/datastore.lua index e5d72bb9..241699cd 100644 --- a/expcore/datastore.lua +++ b/expcore/datastore.lua @@ -522,7 +522,7 @@ function Datastore:increment(key, delta) return self:set(key, value + (delta or 1)) end -local function update_error(err) log('An error ocurred in datastore update: '..trace(err)) end +local function update_error(err) log('An error occurred in datastore update: '..trace(err)) end --[[-- Use a function to update the value locally, will trigger on_update then on_save, save_to_disk and auto_save is required for on_save @tparam any key The key that you want to apply the update to, must be a string unless a serializer is set @tparam function callback The function that will be used to update the value at this key