fixed spelling mistake

This commit is contained in:
jenz 2023-01-30 14:20:55 +01:00
parent 5694f12143
commit 089086e363

View File

@ -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)