The attacker in a sally battle is coded as the besieged army. As far as I recall it says so in the original RTW manual - its because otherwise you could 'sally' and sit around inside waiting for the timer to elapse (provided they didn't have any siege equipment yet) and automatically winning.