New bug :P
I have a NPC with this script:
PHP Code:
//#CLIENTSIDE
function onCreated()
{
showcharacter();
this.head = "head434.png";
this.colors[0] = "white";
this.colors[1] = "blue";
this.colors[2] = "blue";
this.colors[3] = "black";
this.colors[4] = "lightblue":
this.shield = "no-shield.png";
this.attr[1] = "hat92.png";
this.dir = 3;
}
You'll notice I made a typo in this.colors[4] and used a : instead of a ; on accident.
Now, when I press "Apply", I see the button get pushed, but the GUI remains and is not destroyed. If I minimize it and try to press F9 to exit OLE, I'm told "MattKan is currently editing this level's NPCs".
I relog.
The NPC Editor is now unable to select the NPC, and I'm forced to edit the level as a .txt to remove it. (When I attempt to select it I get the same error message, that I'm editing the level.)