thelaui / M.A.R.S.

M.A.R.S. - a ridiculous shooter
http://www.marsshooter.org
Other
161 stars 44 forks source link

Inverted Condition to Remove Indentation #23

Closed candyapplecorn closed 4 years ago

candyapplecorn commented 8 years ago

By reversing the condition on line 43 and returning if true, the behavior of fire() is unchanged, but its code can be unindented. It's personal preference really.

eXpl0it3r commented 3 years ago

Merged in 277986ed58a143c59684a4f12ba969470e4fb4e9