From 61ae8930d085dbfc6c8a56eccf594ae984a95e3b Mon Sep 17 00:00:00 2001 From: Robert Beekman Date: Tue, 12 Sep 2017 14:22:28 +0200 Subject: [PATCH] Updated Storage (markdown) --- Storage.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Storage.md b/Storage.md index 9fccfd5..c2c1f23 100644 --- a/Storage.md +++ b/Storage.md @@ -11,10 +11,10 @@ This is the preferred place to store things since it is not accesable outside th #### Example: ```lua -- Set a value the same way as a regular LUA table -ProfileStorage["highscore"] = 500; +ProfileStorage["highscore"] = 500 -- Retrieve the value at a later time -local lastHighscore = ProfileStorage["highscore"]; +local lastHighscore = ProfileStorage["highscore"] ``` --- ### GlobalStorage @@ -25,10 +25,10 @@ Anything you store here can be accessed by all LUA scripts, this is useful if yo #### Example: ```lua -- Set a value the same way as a regular LUA table -GlobalStorage["favoriteColor"] = "blue"; +GlobalStorage["favoriteColor"] = "blue" -- Retrieve the value at a later time -local favoriteColor = GlobalStorage["favoriteColor"]; +local favoriteColor = GlobalStorage["favoriteColor"] ``` ## Notes