godotengine / godot-demo-projects

Demonstration and Template Projects
https://godotengine.org
MIT License
5.74k stars 1.59k forks source link

Add missing return types in platformer's pause_menu.gd #910

Closed Araraura closed 1 year ago

Araraura commented 1 year ago
Calinou commented 1 year ago

Note that the reason these were missing before is that in Godot 3.x the type hints did not make a performance difference so we left them out of the official demos. For Godot 4.x, it's good to include them.

For future reference, see https://github.com/godotengine/godot-demo-projects/issues/868.