Skip to content

Commit

Permalink
few changes
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown-gd committed Mar 12, 2024
1 parent 53790c2 commit 84a5802
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions lua/entities/endless_pizza_box/init.yue
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ ENT.EatPiece = ( ply, index ) =>
return

ply\SetHealth( health + scp458_heal\GetInt! )
return

ENT.GetAvailablePieces = =>
avaliable, count = {}, 0
Expand Down Expand Up @@ -74,6 +75,10 @@ ENT.Use = ( ply ) =>
duration = @SequenceDuration( @GetSequence! )
@UsageTimeout = curTime + duration
timer.Simple duration, ->
if @IsValid!
for index = 1, 8
@SetBodygroup( index, 0 )
unless @IsValid!
return

for index = 1, 8
@SetBodygroup( index, 0 )

return

0 comments on commit 84a5802

Please sign in to comment.