3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 13:09:23 +01:00

games: remove explicit random.seed()

AFAIK, random already defaults the seed to the system time, and random.seed() without any arguments thus sets it to something that is already set.
This commit is contained in:
James Lu 2016-05-22 10:28:56 -07:00
parent 8c55eb43e7
commit ed34c43b6c

View File

@ -126,12 +126,5 @@ def fml(irc, source, args):
reply(irc, s) reply(irc, s)
gameclient.add_cmd(fml) gameclient.add_cmd(fml)
# loading
def main(irc=None):
"""Main function, called during plugin loading at start."""
# seed the random
random.seed()
def die(irc): def die(irc):
utils.unregisterService('games') utils.unregisterService('games')