mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 22:33:16 -04:00
f{...} -> f({...})
Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
parent
930b0f1eee
commit
1e40fee2b6
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ function player_api.set_textures(player, textures)
|
|||
local model = models[player_data.model]
|
||||
local new_textures = model and model.textures or textures
|
||||
player_data.textures = new_textures
|
||||
player:set_properties{textures = new_textures}
|
||||
player:set_properties({textures = new_textures})
|
||||
end
|
||||
|
||||
function player_api.set_animation(player, anim_name, speed)
|
||||
|
|
Loading…
Add table
Reference in a new issue