avoid hardcoding model name
This commit is contained in:
parent
14cb566681
commit
902f41239d
@ -2,7 +2,8 @@
|
||||
-- TODO rewrite variables: armor_model, model
|
||||
--- Initial definitions ---
|
||||
-- player model backwards compatibility
|
||||
model=models.player_model
|
||||
MODEL_NAME="player_model"
|
||||
model=models[MODEL_NAME]
|
||||
ping=pings
|
||||
-- Texture dimensions --
|
||||
TEXTURE_WIDTH = 256
|
||||
|
Loading…
x
Reference in New Issue
Block a user