diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-01-19 04:57:46 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-01-19 04:57:46 +0000 |
commit | 72d1ab3492ea20ffb75a4d627b09bedd26df41a6 (patch) | |
tree | 477f31fa0d65cc694473e120babd248410de1542 | |
parent | 51c9fca234b6e5c98ff9dd7f913ffb35b1346b26 (diff) | |
download | NorthstarMods-72d1ab3492ea20ffb75a4d627b09bedd26df41a6.tar.gz NorthstarMods-72d1ab3492ea20ffb75a4d627b09bedd26df41a6.zip |
remove unnecessary logs from spawnzone algorithm
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/mp/spawn.nut | 4 |
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 |