Fixed name generation

This commit is contained in:
luxick
2016-01-21 16:31:39 +01:00
parent cf38fe207f
commit d743428921
4 changed files with 9 additions and 37 deletions

View File

@@ -4,6 +4,7 @@
from tamagotchi import Tamagotchi
import random
from config import *
from util import Util
class Mayorgotchi:
mygotchis = []
@@ -12,7 +13,7 @@ class Mayorgotchi:
def __init__(self, list_of_tamagotchis):
self.mygotchis = list_of_tamagotchis
self.name = util.generateName()
self.name = Util.generateName()
def remove_corpses(self):
for n in self.mygotchis: