Changed ServerStatus to GalaxyStatus

In-game "servers" are refered to as galaxies - not servers. The
datatable has been renamed to reflect that.
This commit is contained in:
Ziggeh
2014-07-10 09:22:24 +02:00
parent 6fef20b356
commit e7dc937dab
3 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
import sys
from engine.resources.scene import Point3D
from resources.datatables import ServerStatus
from resources.datatables import GalaxyStatus
def setup():
return
@@ -27,9 +27,9 @@ def run(core, actor, target, commandString):
return
if command == 'lockServer':
core.setGalaxyStatus(ServerStatus.Locked)
core.setGalaxyStatus(GalaxyStatus.Locked)
if command == 'unlockServer':
core.setGalaxyStatus(ServerStatus.Online)
core.setGalaxyStatus(GalaxyStatus.Online)
if command == 'info':
actor.sendSystemMessage(str(core.getActiveZoneClients()) + ' online characters.', 0)
if command == 'shutdown':