remove extraneous return statements

This commit is contained in:
2021-03-17 11:52:57 -06:00
parent 188c78073d
commit 0ecffa534f
8 changed files with 28 additions and 46 deletions

View File

@@ -1,10 +1,9 @@
(defprop &mut :FlxButton playButton null)
(defmethod &override create []
(defmethod &override :Void create []
(set playButton (new FlxButton 0 0 "Play" clickPlay))
(playButton.screenCenter)
(add playButton)
(return))
(add playButton))
(defun clickPlay []
(FlxG.switchState (new PlayState)))