Spectator, sandbox: no selection after reload

Discussion in 'Support!' started by wondible, August 10, 2015.

  1. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    I realize this will go straight to the bottom of the list, but anyway...

    If you create a sandbox game as a spectator (might need devmode for the UI) you can control any army and issue any order. If you then refresh your UI, no build UI appears when selecting builders, and commands that check for a selection (like self destruct) will not work. Proximal cause: live_game model.parseSelection bails if model.reviewMode is true.

    It goes down something like this:

    handlers.server_state: Just started, better clear that flag
    handlers.army_state: I don't have an army index, start observing
    - startObserverMode: Flag set!
    handlers.server_state: Woot, game must have started, better clear that flag
    handlers.army_state: I don't have an army index, start observing
    - startObserverMode: Bugger off, you already called me once.

    Coherent: OMG, refresh!

    handlers.server_state: Just started, better clear that flag
    handlers.army_state: I don't have an army index, start observing
    startObserverMode: Flag set!

Share This Page