SHScientist: the body logic should really only be run if we're not using a body already.
This commit is contained in:
parent
d4a09b6149
commit
020e32e977
1 changed files with 23 additions and 23 deletions
|
@ -420,7 +420,6 @@ SHScientist::Respawn(void)
|
||||||
|
|
||||||
if ((cvar("sh_scirand") == 1) || (m_iBody == 0)) {
|
if ((cvar("sh_scirand") == 1) || (m_iBody == 0)) {
|
||||||
m_iBody = floor(random(1,5));
|
m_iBody = floor(random(1,5));
|
||||||
}
|
|
||||||
|
|
||||||
SetSkin(0);
|
SetSkin(0);
|
||||||
|
|
||||||
|
@ -446,6 +445,7 @@ SHScientist::Respawn(void)
|
||||||
netname = "Slick";
|
netname = "Slick";
|
||||||
SetBodyInGroup(1, 4);
|
SetBodyInGroup(1, 4);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* recount to update sciscore and so on */
|
/* recount to update sciscore and so on */
|
||||||
rules.CountScientists();
|
rules.CountScientists();
|
||||||
|
|
Loading…
Reference in a new issue