mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-23 19:19:31 +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:
parent
8c55eb43e7
commit
ed34c43b6c
@ -126,12 +126,5 @@ def fml(irc, source, args):
|
||||
reply(irc, s)
|
||||
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):
|
||||
utils.unregisterService('games')
|
||||
|
Loading…
Reference in New Issue
Block a user