mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 02:36:32 +01:00
Changed the .running check since checking for 0 tended to give running errors at reload.
This commit is contained in:
parent
7c3d072915
commit
88e7813110
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ class EvenniaGameIndexService(Service):
|
|||
_FIRST_UPDATE_DELAY, self.loop.start, _CLIENT_UPDATE_RATE)
|
||||
|
||||
def stopService(self):
|
||||
if self.running == 0:
|
||||
if not self.running:
|
||||
# @reload errors if we've stopped this service.
|
||||
return
|
||||
super(EvenniaGameIndexService, self).stopService()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue