Skip to content

Commit

Permalink
Update NNLocal.bas
Browse files Browse the repository at this point in the history
Make Nebunoid reduce CPU usage if the RAM saving option has been passed.
  • Loading branch information
ChallengeSY committed May 21, 2024
1 parent 25cba7b commit 45a6db7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion NNLocal.bas
Original file line number Diff line number Diff line change
Expand Up @@ -2741,7 +2741,11 @@ sub local_gameplay
line(0,0)-(1023,767),rgba(128,128,255,(100-SpeedMod)/100*255),bf
end if
screencopy
while timer < FrameTime + 1/60:sleep 0:wend
while timer < FrameTime + 1/60
if Command(1) = "-k" then
sleep 1
end if
wend
InType = inkey
if total_lives = 0 then
for PID as ubyte = 0 to MaxPlayers
Expand Down

0 comments on commit 45a6db7

Please sign in to comment.