mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 00:16:27 +02:00
Removed debugging print statements
This commit is contained in:
@@ -813,9 +813,7 @@ function RADAR:GetVehiclesForAntenna()
|
|||||||
for ant in UTIL:Values( { "front", "rear" } ) do
|
for ant in UTIL:Values( { "front", "rear" } ) do
|
||||||
if ( not UTIL:IsTableEmpty( vehs[ant] ) ) then
|
if ( not UTIL:IsTableEmpty( vehs[ant] ) ) then
|
||||||
-- Get the 'strongest' vehicle for the antenna
|
-- Get the 'strongest' vehicle for the antenna
|
||||||
print( "=============== start ===============")
|
|
||||||
for k, v in pairs( vehs[ant] ) do
|
for k, v in pairs( vehs[ant] ) do
|
||||||
print( tostring( v.veh ) .. " - " .. tostring( v.size ) .. " - " .. v.rayType )
|
|
||||||
if ( self:CheckVehicleDataFitsMode( ant, v.rayType ) ) then
|
if ( self:CheckVehicleDataFitsMode( ant, v.rayType ) ) then
|
||||||
results[ant][1] = v
|
results[ant][1] = v
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user