1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-07-04 23:50:21 +02:00

f{...} -> f({...})

Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
Lars Müller
2020-09-29 17:48:26 +02:00
committed by GitHub
parent 930b0f1eee
commit 1e40fee2b6

View File

@ -66,7 +66,7 @@ function player_api.set_textures(player, textures)
local model = models[player_data.model] local model = models[player_data.model]
local new_textures = model and model.textures or textures local new_textures = model and model.textures or textures
player_data.textures = new_textures player_data.textures = new_textures
player:set_properties{textures = new_textures} player:set_properties({textures = new_textures})
end end
function player_api.set_animation(player, anim_name, speed) function player_api.set_animation(player, anim_name, speed)