Skip to content

Commit

Permalink
change QueueCommand with PlayCommand in inputsys.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jousway committed Aug 28, 2022
1 parent 36a2158 commit b0a03f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/01 Main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ function TF_WHEEL.Input(self)
if not event.PlayerNumber then return end
self.pn = event.PlayerNumber
if ToEnumShortString(event.type) == "FirstPress" or ToEnumShortString(event.type) == "Repeat" then
self:queuecommand(event.GameButton)
self:playcommand(event.GameButton)
end
if ToEnumShortString(event.type) == "Release" then
self:queuecommand(event.GameButton.."Release")
self:playcommand(event.GameButton.."Release")
end
end
end

0 comments on commit b0a03f3

Please sign in to comment.