(svn r23632) -Add: GSCompanyMode, to change company in GameScripts
This commit is contained in:
@@ -18,6 +18,6 @@ ScriptGroupList::ScriptGroupList()
|
||||
{
|
||||
Group *g;
|
||||
FOR_ALL_GROUPS(g) {
|
||||
if (g->owner == _current_company) this->AddItem(g->index);
|
||||
if (g->owner == ScriptObject::GetCompany()) this->AddItem(g->index);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user