diff options
author | ubq323 <ubq323@ubq323.website> | 2023-02-11 15:33:13 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2023-02-11 15:33:13 +0000 |
commit | b4c189ab1b6233c7e7e260446e80b789f375b5d6 (patch) | |
tree | a051262e11172ccd65015fc89f4b92adf0de2ae7 /client | |
parent | 81ee73e37348eaae6b1e4a23378d13d129133904 (diff) |
change from random worldgen to be based on a hash of position; implement serverside chunk unloading
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 a544250..03df16a 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(2.25,math.min(50,camera.zoom)) + camera.zoom = math.max(1,math.min(50,camera.zoom)) sync_local_player(local_player) end |