Mantis: 0001129

o If an advanced armory is lost and no other armories exist, the observatory and armslab are nolonger available until a new armory is built.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@490 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
puzl 2006-05-18 18:32:05 +00:00
parent d0621b8645
commit 1511d73d5f

View file

@ -82,6 +82,8 @@ void AvHBuildable::TriggerRemoveTech() const
if(theTeam)
{
theTeam->TriggerRemoveTech(this->mTechID);
if ( this->mTechID == TECH_ADVANCED_ARMORY )
theTeam->TriggerRemoveTech(TECH_ARMORY);
}
}