# HG changeset patch # User Wuzzy # Date 1543263229 -3600 # Node ID 055eae9334827dbf8b01418ab1fc5c9dac077b1e # Parent 2978d6405d882224d96ce0dcdf45cf622df5948c Touch: Parse pause command when tapping pause button instead of toggling pause directly diff -r 2978d6405d88 -r 055eae933482 hedgewars/uTouch.pas --- a/hedgewars/uTouch.pas Mon Nov 26 21:10:33 2018 +0100 +++ b/hedgewars/uTouch.pas Mon Nov 26 21:13:49 2018 +0100 @@ -149,7 +149,7 @@ if isOnWidget(pauseButton, finger^) then begin - isPaused:= not isPaused; + ParseTeamCommand('pause'); moveCursor:= false; finger^.pressedWidget:= @pauseButton; exit;