mirror of
https://github.com/evennia/evennia.git
synced 2026-04-01 13:37:17 +02:00
Moving the game port selection to settings.py for simplicity and security.
This commit is contained in:
parent
92165ade01
commit
7d869dff18
3 changed files with 7 additions and 7 deletions
|
|
@ -123,4 +123,4 @@ mud_service = EvenniaService('Evennia Server')
|
|||
|
||||
# Sheet sheet, fire ze missiles!
|
||||
serviceCollection = service.IServiceCollection(application)
|
||||
internet.TCPServer(4000, mud_service.getEvenniaServiceFactory()).setServiceParent(serviceCollection)
|
||||
internet.TCPServer(settings.GAMEPORT, mud_service.getEvenniaServiceFactory()).setServiceParent(serviceCollection)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue