mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 00:16:27 +02:00
Added UTIL:DebugPrint, removed redundant code
This commit is contained in:
@@ -98,6 +98,12 @@ function UTIL:DrawDebugLine( startP, endP, col )
|
||||
end
|
||||
end
|
||||
|
||||
function UTIL:DebugPrint( text )
|
||||
if ( RADAR.config.debug_mode ) then
|
||||
print( text )
|
||||
end
|
||||
end
|
||||
|
||||
UTIL.car_colours = {
|
||||
[ "0" ] = "Metallic Black",
|
||||
[ "1" ] = "Metallic Graphite Black",
|
||||
|
||||
Reference in New Issue
Block a user