0ad/source/simulation2/scripting
Atrik 99e3799883 Fix formation reshuffling after entity rename
When entities in formations were renamed (e.g., during promotion),
the formation would immediately recalculate all member positions,
and queue movement orders causing visible shuffling.

Changes:
1. Transfer existing offsets movement to the renamed entity
   to maintain current formation structure
2. Schedule offset recalculation for the next tick to allow proper
   reordering after all systems have updated

This preserves formation integrity during renames while allowing
eventual optimal position recalculation.

Fixes #8656
2026-02-04 11:05:07 +01:00
..
EngineScriptConversions.cpp Fix formation reshuffling after entity rename 2026-02-04 11:05:07 +01:00
JSInterface_Simulation.cpp Fix includes in source/simulation2 2025-08-07 20:00:49 +02:00
JSInterface_Simulation.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
MessageTypeConversions.cpp Fix includes in source/simulation2 2025-08-07 20:00:49 +02:00
ScriptComponent.cpp Fix includes in source/simulation2 2025-08-07 20:00:49 +02:00
ScriptComponent.h Remove the name of some unused arguments 2025-06-18 12:49:59 +02:00