diff options
author | ubq323 <ubq323@ubq323.website> | 2023-02-12 17:29:24 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2023-02-12 17:29:32 +0000 |
commit | 24b06ededb117588adab64af1c60a0c53e2a8feb (patch) | |
tree | 65333308393c24370350a31c2a3ae18fcdb110e1 /client | |
parent | 3c2ce647d376e87a02fccb79f3de7a90fbf72f08 (diff) |
change hash function, remove caching of noise vectors; noise won't use unbounded memory now
Diffstat (limited to 'client')
-rw-r--r-- | client/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/main.lua b/client/main.lua index 03df16a..d58551e 100644 --- a/client/main.lua +++ b/client/main.lua @@ -89,7 +89,7 @@ function love.update(dt) update_local_player(local_player,dt) if love.keyboard.isScancodeDown"q" then camera.zoom = camera.zoom*1.05 end if love.keyboard.isScancodeDown"e" then camera.zoom = camera.zoom/1.05 end - camera.zoom = math.max(1,math.min(50,camera.zoom)) + camera.zoom = math.max(2.5,math.min(50,camera.zoom)) sync_local_player(local_player) end |