diff options
| author | rebecca <ubq323@ubq323.website> | 2026-02-28 21:15:58 +0000 |
|---|---|---|
| committer | rebecca <ubq323@ubq323.website> | 2026-02-28 21:15:58 +0000 |
| commit | d94c0a0710db6d0f7235acd83aa302ce753993bf (patch) | |
| tree | 47e3c23ea6f36e44b86ed964c697c15c61f3d7c7 | |
| parent | 1b67049ca60368a3347312cdfd7a95054699ec25 (diff) | |
grav
| -rw-r--r-- | grav.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -17,5 +17,7 @@ parallel.waitForAny( local _,key = os.pullEvent"key" if key == 265 then strength=strength+0.1 elseif key == 264 then strength=strength-0.1 end + strength = math.min(strength, 4) + strength = math.max(strength, 0) end end ) |
