JS mission.markSystem()/unmarkSystem() now return undefined instead of their function objects.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@5150 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
f412133fb5
commit
c24d971705
@ -182,7 +182,7 @@ static JSBool MissionMarkSystem(JSContext *context, uintN argc, jsval *vp)
|
||||
}
|
||||
}
|
||||
|
||||
return YES;
|
||||
OOJS_RETURN_VOID;
|
||||
|
||||
OOJS_NATIVE_EXIT
|
||||
}
|
||||
@ -218,7 +218,7 @@ static JSBool MissionUnmarkSystem(JSContext *context, uintN argc, jsval *vp)
|
||||
}
|
||||
}
|
||||
|
||||
return YES;
|
||||
OOJS_RETURN_VOID;
|
||||
|
||||
OOJS_NATIVE_EXIT
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user