ITEM_SUIT: destroy when we're running on game 'bshift'

This commit is contained in:
Marco Cawthorne 2023-01-17 22:03:29 -08:00
parent e152392132
commit ed30225de7
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 5 additions and 0 deletions

View File

@ -72,6 +72,11 @@ item_suit::Touch(entity eToucher)
void
item_suit::Respawn(void)
{
if (cvar_string("fs_game") == "bshift") {
Destroy();
return;
}
SetSolid(SOLID_TRIGGER);
SetMovetype(MOVETYPE_TOSS);
SetOrigin(GetSpawnOrigin());