def stopBattle(): Focus.inBattle = False MarkersStorage.clear() if Focus.lastCallback is not None: try: BigWorld.cancelCallback(Focus.lastCallback) except: pass Focus.lastCallback = None
def stopBattle(): if event.ns == _SPACE.SF_BATTLE: Focus.inBattle = False MarkersStorage.clear() if Focus.lastCallback is not None: try: BigWorld.cancelCallback(Focus.lastCallback) except: pass Focus.lastCallback = None