Browse Source

Changed the evaulation of insult_column to the length of insult_list instead of a hard number

main
RichieStacker 11 years ago
parent
commit
20908f05a2
  1. 2
      construct_insult.py

2
construct_insult.py

@ -47,7 +47,7 @@ def construct_insult():
built_insult = built_insult + insult_list[insult_column][insult_select] built_insult = built_insult + insult_list[insult_column][insult_select]
# If the current insult column is before the last one, append a space, else append an exclamation mark. # If the current insult column is before the last one, append a space, else append an exclamation mark.
if insult_column < 2: if insult_column < len(insult_list) - 1:
built_insult = built_insult + " " built_insult = built_insult + " "
else: else:
built_insult = built_insult + "!" built_insult = built_insult + "!"

Loading…
Cancel
Save