gdquest-demos / godot-3-demos

Dozens of free and open source demos for the Godot game engine, version 3. Head to the link below for newer demos for Godot 4+
https://github.com/gdquest-demos/
MIT License
1.85k stars 978 forks source link

Fix weapon/sword.gd #31

Closed mitchcurtis closed 5 years ago

mitchcurtis commented 5 years ago

More enum fixes.

NathanLovato commented 5 years ago

Thanks, but you shouldn't do it manually, script by script.

We can fix demos in batch by just removing the enum names in all scripts with a text search-and-replace (e.g. with the sed command). The only time-consuming part is you still need to test all demos manually to ensure nothing broke. Maybe a script to run every game from the shell could work to catch errored projects.