1
Fork 0
mirror of https://github.com/RYGhub/royal-mifia.git synced 2024-11-22 13:54:19 +00:00
This commit is contained in:
Steffo 2016-12-11 17:21:28 +01:00
parent 169a0c0360
commit 7811a3d5f0

View file

@ -304,8 +304,8 @@ class Mamma(Role):
return r return r
def onstartgame(self, bot, game): def onstartgame(self, bot, game):
target = None target = self.player
while target != self.player: while target == self.player:
target = random.sample(game.players, 1)[0] target = random.sample(game.players, 1)[0]
self.player.message(bot, s.mom_discovery.format(target=target.tusername, self.player.message(bot, s.mom_discovery.format(target=target.tusername,
icon=target.role.icon, icon=target.role.icon,