Skip to content
Snippets Groups Projects
Commit 319d61d0 authored by DarkGod's avatar DarkGod
Browse files

Fixed a bug where the WASD keys could get "stuck" if a dialog poped while pressing them in combo

parent 3a66e4b7
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -1975,6 +1975,9 @@ function _M:onRegisterDialog(d)
self.tooltip2_x, self.tooltip2_y = nil, nil
if self.player then self.player:updateMainShader() end
-- Cleanup WASD
self.wasd_state = {cnt=0, cd=12, base_cd=3}
-- if self.player and self.player.runStop then self.player:runStop(_t"dialog poping up") end
-- if self.player and self.player.restStop then self.player:restStop(_t"dialog poping up") end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment