mirror of
https://github.com/ENSL/NS.git
synced 2024-11-10 07:11:38 +00:00
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:
parent
d0621b8645
commit
1511d73d5f
1 changed files with 2 additions and 0 deletions
|
@ -82,6 +82,8 @@ void AvHBuildable::TriggerRemoveTech() const
|
|||
if(theTeam)
|
||||
{
|
||||
theTeam->TriggerRemoveTech(this->mTechID);
|
||||
if ( this->mTechID == TECH_ADVANCED_ARMORY )
|
||||
theTeam->TriggerRemoveTech(TECH_ARMORY);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue