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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)