diff options
author | Hop311 <Hop3114@gmail.com> | 2023-12-04 10:47:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 10:47:51 +0100 |
commit | e01d332f407420db84fbfd207f18c3fec1c1b6a3 (patch) | |
tree | b963c671239ecd693d4162afe4b1b9d3b064554e /game/src/Game/Autoload/Argument/ArgumentOption.gd | |
parent | 9165f5980c5cfe75b3bad4303a5822340f6adcfc (diff) | |
parent | 6e350a3dc0b596b1f76fab3b943b67b7713ea4fa (diff) |
Merge pull request #168 from OpenVicProject/update-sim
Sim submodule update + compatibility fixes
Diffstat (limited to 'game/src/Game/Autoload/Argument/ArgumentOption.gd')
-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: |