diff --git a/sweebot.py b/sweebot.py index bb67922..c5fdafd 100644 --- a/sweebot.py +++ b/sweebot.py @@ -434,7 +434,7 @@ while True: elif command[0] == "$patpat" or command[0] == "$headpat": if len(command) == 2: - for i in range(1,int(command[1])): + for i in range(0,int(command[1])): happiness += (1 if happiness != 10 else 0) elif len(command) == 1: happiness += (1 if happiness != 10 else 0)