mirror of
https://github.com/t-affeldt/regional_weather.git
synced 2025-09-22 11:26:49 -04:00
Modernize API calls
* Textures: fix invalid srgb profiles * Deprecated get_player_velocity -> get_velocity * Deprecated: boolean value for use_texture_alpha --------- Co-authored-by: mazes 80 <>
This commit is contained in:
parent
4b44f25ef8
commit
351c11b3c7
5 changed files with 3 additions and 3 deletions
|
@ -50,7 +50,7 @@ local function generate_effects(params)
|
|||
|
||||
override["climate_api:skybox"] = skybox
|
||||
|
||||
local movement = params.player:get_player_velocity()
|
||||
local movement = params.player:get_velocity()
|
||||
local movement_direction
|
||||
if (vector.length(movement) < 0.1) then
|
||||
movement_direction = vector.new(0, 0, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue