Skip to content

Commit

Permalink
init time
Browse files Browse the repository at this point in the history
  • Loading branch information
ineed bots committed Apr 25, 2024
1 parent 0ea6672 commit a3266c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion maps/mp/bots/_bot.gsc
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,11 @@ init()
if ( !isdefined( game[ "botWarfare" ] ) )
{
game[ "botWarfare" ] = true;
game[ "botWarfareInitTime" ] = gettime();
}

level.bot_inittime = gettime();

level.defuseobject = undefined;
level.bots_smokelist = List();
level.tbl_perkdata[ 0 ][ "reference_full" ] = true;
Expand Down Expand Up @@ -471,7 +474,7 @@ onDisconnect()
connected()
{
self endon( "disconnect" );

for ( i = 0; i < level.bots.size; i++ )
{
bot = level.bots[ i ];
Expand Down

0 comments on commit a3266c6

Please sign in to comment.