mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-27 02:13:45 +00:00
b5df81af76
Follow up on 8bfb449375. Allows saving turret positions in the map file,
instead of relying on the order in which the entities are added.
Differential Revision: D2614
Reviewed by: @wraitii
Comments by: @Angen, @bb, @vladislavbelov.
This was SVN commit r24161.
6 lines
211 B
JavaScript
6 lines
211 B
JavaScript
/**
|
|
* Message of the form { "added": number[], "removed": number[] }
|
|
* sent from the TurretHolder component to the current entity whenever the turrets change.
|
|
*/
|
|
Engine.RegisterMessageType("TurretsChanged");
|