#27 Can't change player AI script or player color.

Reuben Lord

If you go to change the AI script (tested in windows) the list box drops down, but it you make a selection the new selection is lost and it reverts back to the original selection.

Same for the player color selection slider bars. If you go to change them, you can bring those widgets into focus, but they will not change.


  • Bjorn Hansen

    Bjorn Hansen - 2007-12-02
    • assigned_to: nobody --> holomorph
    • status: open --> closed-fixed
  • Bjorn Hansen

    Bjorn Hansen - 2007-12-02

    Logged In: YES
    Originator: NO

    I was calling refreshKeys() at the top of the action() function, which would set the AI dropdown and color sliders to the stored values, before reading the new values to store. I'm not sure why that was there in the first place, but after doing some testing I'm pretty sure it wasn't doing anything helpful so simply removing it fixes this bug.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks