Flags were frequently used as rallying points in the course of battles; squaddies might bring together around their colorings for morale
https://deanrshx384.summitviewdaily.com/posts/flags-as-historical-artifacts-insights-into-the-civil-war-era
Flags were at times used as rallying points all the way through battles; soldiers may gather around their colorings for morale fortify while faced with overwhelming odds.