Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New Premium Module: Tyrants of the Moonsea! Read More
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

Beta for 2.2 update now available!



  • BillyYankBillyYank Member Posts: 2,769
    Dee said:

    Portraits. They'll work in either place, though.

    But note, there is a bug involved when placing portraits in the portraits folder and registering them in a .lua file. Paging through to the left shows each portrait twice. I'm going to keep putting mine in the override until this get's fixed.

  • mf2112mf2112 Member, Moderator Posts: 1,919
    So when will the 2.3 beta be available? :dizzy:

  • Mr2150Mr2150 Member Posts: 1,170
    @BillyYank - I encountered that too! Hence my question about where portraits should be placed.

    The reason for the bug is clear... Your LUA file is adding the portrait to the portrait table. The engine also grabs all portraits in the portraits folder and appends them to the end of the portrait table as standard. So your portrait is counted twice... once from being added from the LUA file, and once from being in the portraits folder.
    The only solution I could find was to place the portrait in override - avoiding the automatic grab.

    I now handle the portraits in a different way which overcomes this and allows portraits to be in the portraits folder.

This discussion has been closed.