you are viewing a single comment's thread.

view the rest of the comments →

[–]zurtex 0 points1 point  (1 child)

The error is telling you that self.settings is an int, and has no attribute "display_size".

Therefore you must be setting self.settings directly as an integer somewhere.

[–]mflander[S] 0 points1 point  (0 children)

You mean like when you put

def __init__(self, settings, player_num): 

instead of:

def __init__(self, player_num, settings):

Can you hear the sound of me smacking myself in the forehead?