(svn r24986) -Change: Cleanup goals and cargo monitors of companies when they go bankrupt or are taken over.

This commit is contained in:
zuu
2013-02-10 19:49:04 +00:00
parent e27582d104
commit b1016f66ba
6 changed files with 60 additions and 9 deletions

View File

@@ -17,6 +17,11 @@
/**
* Class that handles some goal related functions.
*
* Goals are saved and loaded. Upon bankruptcy or company takeover, all company
* specific goals are removed for that company. You can also remove individual
* goals using #Remove.
*
* @api game
*/
class ScriptGoal : public ScriptObject {