diff options
author | hop311 <hop3114@gmail.com> | 2023-12-04 01:12:16 +0100 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2023-12-04 01:18:15 +0100 |
commit | 6e350a3dc0b596b1f76fab3b943b67b7713ea4fa (patch) | |
tree | b963c671239ecd693d4162afe4b1b9d3b064554e /game/src/Game/Autoload/Argument | |
parent | 9165f5980c5cfe75b3bad4303a5822340f6adcfc (diff) |
Sim submodule update + extension compatibility
Diffstat (limited to 'game/src/Game/Autoload/Argument')
-rw-r--r-- | game/src/Game/Autoload/Argument/ArgumentOption.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/src/Game/Autoload/Argument/ArgumentOption.gd b/game/src/Game/Autoload/Argument/ArgumentOption.gd index f14cef0..f98b19c 100644 --- a/game/src/Game/Autoload/Argument/ArgumentOption.gd +++ b/game/src/Game/Autoload/Argument/ArgumentOption.gd @@ -20,7 +20,7 @@ extends Resource var default_value @export var description : String -func _init(_name = "", _type = TYPE_NIL, _description = "", default = null): +func _init(_name = "", _type = TYPE_NIL, _description = "", default = null): name = _name type = _type if default != null and typeof(default) == type: |