aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-01-19 04:57:46 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-01-19 04:57:46 +0000
commit72d1ab3492ea20ffb75a4d627b09bedd26df41a6 (patch)
tree477f31fa0d65cc694473e120babd248410de1542 /Northstar.CustomServers/mod/scripts/vscripts
parent51c9fca234b6e5c98ff9dd7f913ffb35b1346b26 (diff)
downloadNorthstarMods-72d1ab3492ea20ffb75a4d627b09bedd26df41a6.tar.gz
NorthstarMods-72d1ab3492ea20ffb75a4d627b09bedd26df41a6.zip
remove unnecessary logs from spawnzone algorithm
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/spawn.nut4
1 files changed, 0 insertions, 4 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/spawn.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/spawn.nut
index 5b8b2401..42e107e4 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/spawn.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/spawn.nut
@@ -616,10 +616,6 @@ entity function DecideSpawnZone_Generic( array<entity> spawnzones, int team )
}
}
- print( averageFriendlySpawns )
- print( averageEnemySpawns )
- print( Distance2D( spawnzone.GetOrigin(), averageFriendlySpawns ) )
- print( Distance2D( spawnzone.GetOrigin(), averageEnemySpawns ) )
// don't choose spawnzones that are closer to enemy base than friendly base
if ( !spawnzoneEvil && Distance2D( spawnzone.GetOrigin(), averageFriendlySpawns ) > Distance2D( spawnzone.GetOrigin(), averageEnemySpawns ) )
spawnzoneEvil = true