diff options
| author | Rémi Verschelde | 2015-12-09 08:38:23 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2015-12-09 08:38:23 +0100 |
| commit | 8639cecf4cedd56452b47503be19c44b304cd02f (patch) | |
| tree | e2a795da15e40c7d9d5b82e33378f8dbf0eaf67a /demos/misc/pause/spinpause.gd | |
| parent | efbb834936fdc9da9789ad37c9cc61e0b90cda95 (diff) | |
| download | godot-8639cecf4cedd56452b47503be19c44b304cd02f.tar.gz godot-8639cecf4cedd56452b47503be19c44b304cd02f.tar.zst godot-8639cecf4cedd56452b47503be19c44b304cd02f.zip | |
Improve code formatting and update to 2.0
The scripts were streamlined using more or less the following conventions:
- space after a comma in lists of arguments
- space around weak operators (+, -), no space around strong operators (*, /)
- space after a comment start (#)
- removed trailing spaces or tabs, apart from those that delimit the function indentation level (those could be removed too but since they are added automatically by the editor when typing code, keeping them for now)
- function blocks separate by two newlines
The scene files were resaved with the (current) 2.0 format, and some scenes that were in XML format were converted to SCN, to be consistent across all demos.
Diffstat (limited to 'demos/misc/pause/spinpause.gd')
| -rw-r--r-- | demos/misc/pause/spinpause.gd | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/demos/misc/pause/spinpause.gd b/demos/misc/pause/spinpause.gd index 1b8f8388f..ea5617c06 100644 --- a/demos/misc/pause/spinpause.gd +++ b/demos/misc/pause/spinpause.gd @@ -11,5 +11,3 @@ func _on_pause_pressed(): func _on_unpause_pressed(): get_node("pause_popup").hide() get_tree().set_pause(false) - - |
