avoid hardcoding model name
This commit is contained in:
parent
14cb566681
commit
902f41239d
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user