File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export let activeWorld: World;
1818/**
1919 * Creates a new instance of the game world and assigns it to the singleton world variable.
2020 */
21- export const createWorld = async ( ) : Promise < World > => {
21+ export const activateGameWorld = async ( ) : Promise < World > => {
2222 activeWorld = new World ( ) ;
2323 await activeWorld . startup ( ) ;
2424 return activeWorld ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { logger } from '@runejs/core';
22import { parseServerConfig , SocketServer } from '@runejs/core/net' ;
33import { Filestore } from '@runejs/filestore' ;
44
5- import { createWorld } from '@engine/world' ;
5+ import { activateGameWorld } from '@engine/world' ;
66import { loadCoreConfigurations , loadGameConfigurations , xteaRegions } from '@engine/config' ;
77import { loadPackets } from '@engine/net' ;
88import { watchForChanges , watchSource } from '@engine/util' ;
@@ -46,7 +46,7 @@ export async function launchGameServer(): Promise<void> {
4646 await loadGameConfigurations ( ) ;
4747 await loadPackets ( ) ;
4848
49- const world = await createWorld ( ) ;
49+ const world = await activateGameWorld ( ) ;
5050
5151 if ( process . argv . indexOf ( '-fakePlayers' ) !== - 1 ) {
5252 world . generateFakePlayers ( ) ;
You can’t perform that action at this time.
0 commit comments