From 5a75e276bb7286642e4675b7e7c3bd6dce3efeee Mon Sep 17 00:00:00 2001 From: Nova Cat Date: Sun, 1 Dec 2024 14:29:34 -0800 Subject: [PATCH] forgot to count --- sweebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)