Skip to content

Commit

Permalink
Only draw holdCount holds
Browse files Browse the repository at this point in the history
  • Loading branch information
ImpleLee committed Sep 14, 2023
1 parent 7092203 commit 28d8d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parts/player/draw.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ function draw.demo(P)

-- Draw hold
local N=1
while P.holdQueue[N] do
while ENV.holdMode=='hold' and N<=ENV.holdCount and P.holdQueue[N] do
local id=P.holdQueue[N].id
local _=BLOCK_COLORS[skinSet[id]]
gc_setColor(_[1],_[2],_[3],.3)
Expand Down

0 comments on commit 28d8d89

Please sign in to comment.