Added javascript math module

This commit is contained in:
danielyxie
2017-09-11 18:31:42 -05:00
parent 1f9d0be7be
commit f8ff4cfba6
4 changed files with 6 additions and 2 deletions
+1
View File
@@ -55,6 +55,7 @@ function initSingularitySFFlags() {
function NetscriptFunctions(workerScript) {
return {
Math : Math,
hacknetnodes : Player.hacknetNodes,
scan : function(ip=workerScript.serverIp){
var server = getServer(ip);