summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorrom <romangraef@gmail.com>2021-04-26 22:39:52 +0200
committerrom <romangraef@gmail.com>2021-04-26 22:39:52 +0200
commit5edfb8bfbee68c2ae7fda4cdf682ecb2fb748fab (patch)
treef2ddc9c72501088a774585e27cd00ed49b2ab7d3 /components
parent518ad95f5a8d9406a8010c22537343493005dc01 (diff)
downloadldjam48-5edfb8bfbee68c2ae7fda4cdf682ecb2fb748fab.tar.gz
ldjam48-5edfb8bfbee68c2ae7fda4cdf682ecb2fb748fab.tar.bz2
ldjam48-5edfb8bfbee68c2ae7fda4cdf682ecb2fb748fab.zip
random
Diffstat (limited to 'components')
-rw-r--r--components/Settings.gd2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/Settings.gd b/components/Settings.gd
index c652b16..3bcb1a4 100644
--- a/components/Settings.gd
+++ b/components/Settings.gd
@@ -9,6 +9,8 @@ var difficulty = Difficulty.EASY
##########
# LOADER #
##########
+func _ready():
+ randomize()
onready var _file = File.new()
const _SETTINGS_PATH = "user://settings.json"