X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=blobdiff_plain;f=bin%2Fmudpy;fp=bin%2Fmudpy;h=a0d764ec76aae05638c9f7c802f694fced0e6f7c;hp=a9aebc7448cf5beeda1c2bbe86f4109e20f3749e;hb=0b17d02a2c57f91e776e301d3ac9540a19a2e41a;hpb=2dd226459f6c73600ce7f686ca8797097b25c057 diff --git a/bin/mudpy b/bin/mudpy index a9aebc7..a0d764e 100755 --- a/bin/mudpy +++ b/bin/mudpy @@ -7,8 +7,9 @@ u"""Skeletal executable for the mudpy engine.""" # terms provided in the LICENSE file distributed with this software. # core objects for the mudpy engine -import os.path, sys -sys.path.append( os.path.realpath(u"lib") ) +import os.path +import sys +sys.path.append(os.path.realpath(u"lib")) import mudpy # start it up @@ -18,14 +19,14 @@ mudpy.misc.setup() # there are still connected users while not mudpy.misc.universe.terminate_flag or mudpy.misc.universe.userlist: - # the world was flagged for a reload of all code/data - if mudpy.misc.universe.reload_flag: - reload(mudpy) - mudpy.misc.reload_data() - mudpy.misc.universe.reload_flag = False + # the world was flagged for a reload of all code/data + if mudpy.misc.universe.reload_flag: + reload(mudpy) + mudpy.misc.reload_data() + mudpy.misc.universe.reload_flag = False - # do what needs to be done on each pulse - mudpy.misc.on_pulse() + # do what needs to be done on each pulse + mudpy.misc.on_pulse() # shut it all down mudpy.misc.finish()