From 089086e363ee426ad64b98aeeb1288b7d41603ac Mon Sep 17 00:00:00 2001 From: jenz Date: Mon, 30 Jan 2023 14:20:55 +0100 Subject: [PATCH] fixed spelling mistake --- AutismBotIngame/python/ingamefollowct.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AutismBotIngame/python/ingamefollowct.py b/AutismBotIngame/python/ingamefollowct.py index 125ff06b..419d4da3 100644 --- a/AutismBotIngame/python/ingamefollowct.py +++ b/AutismBotIngame/python/ingamefollowct.py @@ -44,7 +44,7 @@ def bot_process_movement(input_line): targeteam = int(targeteam) #request by bane that bots should simply not infect people shrug strInput = "-attack; wait 2; -use; wait 5; -attack; wait 5; cl_minmodels 1; wait 2; +use; wait 5; " - if targetteam == 3: + if targeteam == 3: strInput = "-attack; wait 2; -use; wait 5; +attack; wait 5; cl_minmodels 1; wait 2; +use; wait 5; " #python has no switches and such if state in [5, 7]: @@ -60,7 +60,7 @@ def bot_process_movement(input_line): elif state == 8: strInput += "use weapon_knife; wait 5; +forward; wait 2;" - print('dist_target: ', dist_target, ' enemy distance: ', enemy_distance, ' targetteam: ', targeteam, ' state:', state) + print('dist_target: ', dist_target, ' enemy distance: ', enemy_distance, ' targeteam: ', targeteam, ' state:', state) if state not in [0, 2, 5, 7, 8]: strInput = strinput_append(strInput, 2) #print('strInput final:', strInput)