diff --git a/maps/mp/bots/_bot.gsc b/maps/mp/bots/_bot.gsc index aa316eb..868d210 100644 --- a/maps/mp/bots/_bot.gsc +++ b/maps/mp/bots/_bot.gsc @@ -406,7 +406,7 @@ watchBotDebugEvent() if ( msg == "debug" && GetDvarInt( "bots_main_debug" ) ) { - BotBuiltinPrintConsole( "Bot Warfare debug: " + self.name + ": " + str + "\n" ); + BotBuiltinPrintConsole( "Bot Warfare debug: " + self.name + ": " + str ); } } } diff --git a/maps/mp/bots/_bot_utility.gsc b/maps/mp/bots/_bot_utility.gsc index e7fd85f..603ad33 100644 --- a/maps/mp/bots/_bot_utility.gsc +++ b/maps/mp/bots/_bot_utility.gsc @@ -127,7 +127,7 @@ doHostCheck() if ( getDvar( "bots_main_firstIsHost" ) != "0" ) { - BotBuiltinPrintConsole( "WARNING: bots_main_firstIsHost is enabled\n" ); + BotBuiltinPrintConsole( "WARNING: bots_main_firstIsHost is enabled" ); if ( getDvar( "bots_main_firstIsHost" ) == "1" ) { @@ -1336,7 +1336,7 @@ readWpsFromFile( mapname ) if ( !res.lines.size ) return waypoints; - BotBuiltinPrintConsole( "Attempting to read waypoints from " + filename + "\n" ); + BotBuiltinPrintConsole( "Attempting to read waypoints from " + filename ); waypointCount = int( res.lines[0] ); @@ -1370,7 +1370,7 @@ load_waypoints() if ( wps.size ) { level.waypoints = wps; - BotBuiltinPrintConsole( "Loaded " + wps.size + " waypoints from file.\n" ); + BotBuiltinPrintConsole( "Loaded " + wps.size + " waypoints from file" ); } else { @@ -1382,7 +1382,7 @@ load_waypoints() } if ( level.waypoints.size ) - BotBuiltinPrintConsole( "Loaded " + level.waypoints.size + " waypoints from script.\n" ); + BotBuiltinPrintConsole( "Loaded " + level.waypoints.size + " waypoints from script" ); } if ( !level.waypoints.size ) diff --git a/scripts/bots_adapter.gsc b/scripts/bots_adapter.gsc index 826f1b0..831ca3f 100644 --- a/scripts/bots_adapter.gsc +++ b/scripts/bots_adapter.gsc @@ -11,7 +11,7 @@ init() do_printconsole( s ) { - PrintConsole( s ); + PrintConsole( s + "\n" ); } do_filewrite( file, contents, mode )