Remove detaching code temporarily.
parent
35ee413929
commit
4655ed0adc
|
@ -797,8 +797,6 @@ enableModelChange(playerCommand) {
|
|||
healthfrac = player.health / player.maxhealth;
|
||||
newhealth = healthfrac * (trace["entity"] GetNormalHealth());
|
||||
|
||||
player DetachAll();
|
||||
player Attach("tag_origin", "j_head");
|
||||
player SetModel(trace["entity"].model);
|
||||
player PlaySound(game["hiders_changed_sound"]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue