Why it's not working?
I'm not sure, maybe I missed something. I don't want to go deep into scripts we developed 7 years ago nor I have the time to ask Wowbagger.
What can you do?
You can always do the following:
def EndSim(pObject, pEvent):
pass
def init():
import QuickBattle.QuickBattle
App.g_kEventManager.AddBroadcastPythonFuncHandler(QuickBattle.QuickBattle.ET_END_SIMULATION, MissionLib.GetMission(), __name__ + ".EndSim")
Why we chose to use the following implementation instead of the one which I'm presenting now?
I cannot remember, it was 7 years ago. I'm pretty sure Wowbagger had a good reason.
Notes:
It is imperative that you study the QuickBattle.py, MissionLib.py and scripts located in the Bridge directory. Most of the answers are located there for you ;)