mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-15 19:21:49 +00:00
Fixed import game state
This commit is contained in:
parent
633dacab36
commit
14724282a6
@ -369,7 +369,7 @@ export class ModInterface {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Registers a new state class, should be a GameState derived class
|
* Registers a new state class, should be a GameState derived class
|
||||||
* @param {typeof GameState} stateClass
|
* @param {typeof import("../core/game_state").GameState} stateClass
|
||||||
*/
|
*/
|
||||||
registerGameState(stateClass) {
|
registerGameState(stateClass) {
|
||||||
this.modLoader.app.stateMgr.register(stateClass);
|
this.modLoader.app.stateMgr.register(stateClass);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user