hi klaus...
as i understand the manual xml.scene should return the active scene name...
but somehow i made it return the scene index,
and that also with a bug (it returns 1 for first and the second scene)
i think this happens when you use loadscene with an index and not the name...
which you should not do, according to the documentation...
strangely it seems to load the correct scene, but messes up xml.scene
best, index