Reset the RallyPoint in case the building changes Ownership to Gaia, so as to prevent...
commitb3de85a0ab689a5d325f1e9cfd9c8a90f808c045
authorelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Fri, 10 Feb 2017 18:47:25 +0000 (10 18:47 +0000)
committerelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Fri, 10 Feb 2017 18:47:25 +0000 (10 18:47 +0000)
tree21da619fc4670736e0d9615e9f55a933c88dc135
parent991e97e0f04dae1c36f1d678ab8da64b41c6d4da
Reset the RallyPoint in case the building changes Ownership to Gaia, so as to prevent the execution of commands like gathering resources or attacking someone if the garrisoned building becomes destroyed.
Add RallyPoint tests.

Reviewed By: mimo, Sandarac
Differential Revision: https://code.wildfiregames.com/D132

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@19217 3db68df2-c116-0410-a063-a993310a9797
binaries/data/mods/public/simulation/components/RallyPoint.js
binaries/data/mods/public/simulation/components/tests/test_RallyPoint.js [new file with mode: 0644]