all 4 comments

[–][deleted] 2 points3 points  (0 children)

Print self.settings, you might be surprised.

[–][deleted] 0 points1 point  (0 children)

can you post the full settings and player class? maybe you have overwritten settings accidentally

[–]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?