my brain doesn't understand boolean logic

This commit is contained in:
crunk 2022-03-21 19:57:59 +01:00
parent bcfa90a08a
commit df87fb5337

View File

@ -86,7 +86,7 @@ def DistribusiLimitReached():
if user.tutor and distribusiamount > 14: if user.tutor and distribusiamount > 14:
print("tutor already has 15 distribusis") print("tutor already has 15 distribusis")
return True return True
if distribusiamount > 4: if not user.tutor and distribusiamount > 4:
print("user already has 5 distribusis") print("user already has 5 distribusis")
return True return True
return False return False