avoid hardcoding model name

This commit is contained in:
NullBite 2023-07-01 01:11:08 -04:00
parent 14cb566681
commit 902f41239d
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -2,7 +2,8 @@
-- TODO rewrite variables: armor_model, model -- TODO rewrite variables: armor_model, model
--- Initial definitions --- --- Initial definitions ---
-- player model backwards compatibility -- player model backwards compatibility
model=models.player_model MODEL_NAME="player_model"
model=models[MODEL_NAME]
ping=pings ping=pings
-- Texture dimensions -- -- Texture dimensions --
TEXTURE_WIDTH = 256 TEXTURE_WIDTH = 256