mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-12 22:45:31 -04:00
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:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user