Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Condition BooleanVariable shows false in UI while "true" in JSON, but should be "False" #8089

@tberthel

Description

@tberthel

Is there an existing issue for this?

Describe the bug

Condition BooleanVariable shows false in UI while "true" in JSON, but should be "False"

"value": "BooleanVariable"
"parameters": [
"nameOfVariable",

  •                        "true",
    
  •                        "False",
    

Steps to reproduce

  1. Add Condition BooleanVariable
  2. Observe the default UI value shows false.
  3. Save the game
  4. Open the JSON and notice "true" for the BooleanVariable

This only impacts the JSON. Not the game preview or loading, but probably should.

GDevelop platform

Desktop

GDevelop version

5.6.250-11a096dbabc15f5aa36b84e65ce04d8e7619f4ab

Platform info

Details

OS (e.g. Windows, Linux, macOS, Android, iOS)

OS Version (e.g. Windows 10, macOS 10.15)

Browser(For Web) (e.g. Chrome, Firefox, Safari)

Device(For Mobile) (e.g. iPhone 12, Samsung Galaxy S21)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions