Update the idle-worker-button onSimulationUpdate. Patch by svott, fixes #3736.
Description
Description
Details
Details
- Committed
elexis Jan 19 2016, 5:04 PM - Parents
- rP17673: Deep freeze simulation commands to prevent accidental updates. Fixes #3647.
- Branches
- Unknown
- Tags
Event Timeline
/ps/trunk/binaries/data/mods/public/gui/session/session.js | ||
---|---|---|
87 | This is pretty prone to errors and oversights in maintenance on the long run. In fact, it is already missing a class for the Mauryan Elephant worker. Maybe, the best course of action would be to have a Worker class. |
/ps/trunk/binaries/data/mods/public/gui/session/session.js | ||
---|---|---|
87 | Certain units are already marked with class Worker in VisibleClasses. |
/ps/trunk/binaries/data/mods/public/gui/session/session.js | ||
---|---|---|
87 | I forgot to mention, Petra is using it in headquarters.js line 337 |
/ps/trunk/binaries/data/mods/public/gui/session/session.js | ||
---|---|---|
87 | It had "Worker" class before. And then it was removed. Not unexpected as none (or few) of the worker unit's template has the class defined. |