diff options
author | rom <romangraef@gmail.com> | 2021-04-26 22:39:52 +0200 |
---|---|---|
committer | rom <romangraef@gmail.com> | 2021-04-26 22:39:52 +0200 |
commit | 5edfb8bfbee68c2ae7fda4cdf682ecb2fb748fab (patch) | |
tree | f2ddc9c72501088a774585e27cd00ed49b2ab7d3 /components | |
parent | 518ad95f5a8d9406a8010c22537343493005dc01 (diff) | |
download | ldjam48-5edfb8bfbee68c2ae7fda4cdf682ecb2fb748fab.tar.gz ldjam48-5edfb8bfbee68c2ae7fda4cdf682ecb2fb748fab.tar.bz2 ldjam48-5edfb8bfbee68c2ae7fda4cdf682ecb2fb748fab.zip |
random
Diffstat (limited to 'components')
-rw-r--r-- | components/Settings.gd | 2 |
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" |