diff --git a/extensions/community/TiledUnitsBar.json b/extensions/community/TiledUnitsBar.json index 1883c04aa..a24ce00b4 100644 --- a/extensions/community/TiledUnitsBar.json +++ b/extensions/community/TiledUnitsBar.json @@ -8,7 +8,7 @@ "name": "TiledUnitsBar", "previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/063e9152cf65bc0f3be2a828afd950c3ecf1b1fc72feefdc2467252fe987dc0f_dots-horizontal.svg", "shortDescription": "A bar that represents a resource in the game (health, mana, ammo, etc).", - "version": "1.1.1", + "version": "1.1.2", "description": "A bar that represents a resource in the game (health, mana, ammo, etc).", "origin": { "identifier": "ResourceBar", @@ -846,7 +846,7 @@ "textG": 0, "textR": 0 }, - "comment": "Pass the configuration to the behavior.", + "comment": "Pass the configuration to the behavior (MaxValue must be set before Value).", "comment2": "" }, { @@ -855,23 +855,23 @@ "actions": [ { "type": { - "value": "TiledUnitsBar::TiledUnitsBar::SetValue" + "value": "TiledUnitsBar::TiledUnitsBar::SetMaxValue" }, "parameters": [ "Object", "=", - "Object.PropertyInitialValue()", + "Object.PropertyMaxValue()", "" ] }, { "type": { - "value": "TiledUnitsBar::TiledUnitsBar::SetMaxValue" + "value": "TiledUnitsBar::TiledUnitsBar::SetValue" }, "parameters": [ "Object", "=", - "Object.PropertyMaxValue()", + "Object.PropertyInitialValue()", "" ] }