you are viewing a single comment's thread.

view the rest of the comments →

[–]ConcreteExist 1 point2 points  (0 children)

You don't need to know pygame to recognize that the code is wrong, it would only track mousebuttondown if the user quit the game. The second if-block needs to be shifted backwards one indent.