peterb
October 3rd, 2024, 14:39
I'm trying to implement sorting for powers. I've implemented a onInit function in record_char_powers.xml, windowlist powers, like so:
function onInit()
if super and super.onInit then
super.onInit()
end
applySort();
return true;
end
and I also added a "applySort" function call to onDrop, but nothing happens, so either I must do something more or do it in another way. Any pointers would be appreciated.
function onInit()
if super and super.onInit then
super.onInit()
end
applySort();
return true;
end
and I also added a "applySort" function call to onDrop, but nothing happens, so either I must do something more or do it in another way. Any pointers would be appreciated.