config: Change keep-alive to want-keep-alive for consistency.

This commit is contained in:
Harvir 2014-07-31 17:33:22 +01:00
parent 896cfd629b
commit a4b8c7b9e7
5 changed files with 5 additions and 5 deletions

View file

@ -51,7 +51,7 @@ want-parties #f
want-gardening #f
# This is a temporary 'fix' for DistributedSmoothNodes... probably not the permanent solution to our problem, but it works for now.
smooth-lag 0.4
keep-alive #f
want-keep-alive #f
# Developer Modifications

View file

@ -50,7 +50,7 @@ want-news-page #f
want-gardening #f
# This is a temporary 'fix' for DistributedSmoothNodes... probably not the permanent solution to our problem, but it works for now.
smooth-lag 0.4
keep-alive #f
want-keep-alive #f
# Holidays and Events

View file

@ -17,6 +17,6 @@ want-pets #f
want-parties #f
want-golf #f
want-gardening #f
keep-alive #f
want-keep-alive #f
# Holidays and Events

View file

@ -264,7 +264,7 @@ class DistributedToonAI(DistributedPlayerAI.DistributedPlayerAI, DistributedSmoo
self.sendUpdate('setDefaultShard', [self.air.districtId])
if self.isPlayerControlled():
# Begin checking if clients are still alive
if config.GetBool('keep-alive', True):
if config.GetBool('want-keep-alive', True):
taskMgr.doMethodLater(config.GetInt('keep-alive-timeout-delay', 300), self.__noKeepAlive, self.uniqueName('KeepAliveTimeout'), extraArgs=[])
if self.getAdminAccess() < 500:

View file

@ -255,7 +255,7 @@ class LocalToon(DistributedToon.DistributedToon, LocalAvatar.LocalAvatar):
if self.adminAccess >= 300:
self.seeGhosts = 1
if base.config.GetBool('keep-alive', True):
if base.config.GetBool('want-keep-alive', True):
taskMgr.doMethodLater(config.GetInt('keep-alive-delay', 30), self.keepAliveCheck, self.uniqueName('KeepAliveTimeout'), extraArgs=[])
def disable(self):