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

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());