hpi-swa-lab / godot-pronto

https://hpi-swa-lab.github.io/godot-pronto/
18 stars 4 forks source link

Expression Edit adds `return` even if it already exists #165

Closed JulianEgbert closed 1 year ago

JulianEgbert commented 1 year ago

If I write a return at("Speed") inside the Expression Edit it will be turned into return return at("Speed") when I start the game which then crashes. However, I cannot see this automatically generated return inside the Edit itself. I can only see it when i open it in the full editor.

I think we should add it to the Expression Edit as well and catch the cases where a return is already present