use wrapper

This commit is contained in:
ineed bots
2025-01-23 23:56:31 -06:00
parent d19be1dd2d
commit 93b82d7720
3 changed files with 17 additions and 1 deletions

View File

@ -49,6 +49,16 @@ BotBuiltinPrintConsole( s )
}
}
/*
*/
BotBuiltinDisableDetourOnce( s )
{
if ( isdefined( level.bot_builtins ) && isdefined( level.bot_builtins[ "disabledetouronce" ] ) )
{
[[ level.bot_builtins[ "disabledetouronce" ] ]]( s );
}
}
/*
*/
BotBuiltinReplaceFunc( s, b )