Код: Выделить всё
import pygame
import random
pygame.init()
#Here this is where the problem happens:
for event in e:
if event.type == pygame.MOUSEBUTTONUP:
newMessage()
Подробнее здесь: https://stackoverflow.com/questions/785 ... ith-pygame
Код: Выделить всё
import pygame
import random
pygame.init()
#Here this is where the problem happens:
for event in e:
if event.type == pygame.MOUSEBUTTONUP:
newMessage()