Also allow mouse clicks to stop autowalk.

master
Zed A. Shaw 2 weeks ago
parent d03abba8e4
commit 1aba26831b
  1. 4
      gui_fsm.cpp

@ -415,6 +415,10 @@ namespace gui {
[&](const sf::Event::KeyPressed &) {
$autowalking = false;
fmt::println("ABORT AUTOWALK");
},
[&](const sf::Event::MouseButtonPressed &) {
$autowalking = false;
fmt::println("ABORT AUTOWALK");
}
);

Loading…
Cancel
Save