Reformat and clean up npc scripts
This commit is contained in:
@@ -34,13 +34,13 @@ var status;
|
||||
|
||||
function start() {
|
||||
status = -1;
|
||||
action(1,0,0);
|
||||
action(1, 0, 0);
|
||||
}
|
||||
|
||||
function action(mode, type, selection){
|
||||
if (mode == 1)
|
||||
function action(mode, type, selection) {
|
||||
if (mode == 1) {
|
||||
status++;
|
||||
else {
|
||||
} else {
|
||||
cm.dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user