blockgame/mods/bg_player/misc.lua
trans_soup 568e8059f9 refactor: more wrappers
create more wrappers for built-in functions and use them instead.
2023-10-13 09:31:55 +02:00

9 lines
250 B
Lua

local utils = load_file("util_misc")
blockgame.register_on_joinplayer(function(player)
utils.handle_player(player, function (_, data)
data.properties.pointable = false
data.properties.zoom_fov = 15
data.properties.eye_height = 1.7
end)
end)