Skip to content

Commit b0a03f3

Browse files
committed
change QueueCommand with PlayCommand in inputsys.
1 parent 36a2158 commit b0a03f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Scripts/01 Main.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ function TF_WHEEL.Input(self)
119119
if not event.PlayerNumber then return end
120120
self.pn = event.PlayerNumber
121121
if ToEnumShortString(event.type) == "FirstPress" or ToEnumShortString(event.type) == "Repeat" then
122-
self:queuecommand(event.GameButton)
122+
self:playcommand(event.GameButton)
123123
end
124124
if ToEnumShortString(event.type) == "Release" then
125-
self:queuecommand(event.GameButton.."Release")
125+
self:playcommand(event.GameButton.."Release")
126126
end
127127
end
128128
end

0 commit comments

Comments
 (0)