diff --git a/maps/bots/_bot.gsc b/maps/bots/_bot.gsc index aef2fe2..4b32719 100644 --- a/maps/bots/_bot.gsc +++ b/maps/bots/_bot.gsc @@ -2,6 +2,24 @@ #include maps\_utility; #include maps\bots\_bot_utility; +/* + main +*/ +main() +{ + // stop the meme + func = GetFunction( "maps/_utility", "wait_network_frame" ); + replaceFunc( func, ::wait_network_frame_func ); +} + +/* + oof +*/ +wait_network_frame_func() +{ + wait 0.05; +} + /* Initiates the whole bot scripts. */ diff --git a/scripts/sp/bots.gsc b/scripts/sp/bots.gsc index 0fa1f2c..b87cd21 100644 --- a/scripts/sp/bots.gsc +++ b/scripts/sp/bots.gsc @@ -1,3 +1,8 @@ +main() +{ + level thread maps\bots\_bot::main(); +} + init() { level thread maps\bots\_bot::init();