Something I noticed today. I am not sure if this is because of v3.3.7 or if this has existed long before.
I have following code in regular stringfield.
The stringfield is in windowinstance wihtin windowlist. The window.windowlist.applySort() does exist and work properly, however if I have my focus on that field and close the window the contain the windowlist I get script error (showing that A was printed before error). Script error in states: attempt to call field 'applySort' (a nil value)Code:function onLoseFocus()
print("A")
window.windowlist.applySort()
print("B")
end
There are many places in SavageWorlds ruleset where the list is sorted when onLoseFocus from name field. If this error has been long before what would be the better way to do sorting?