MCPcopy Create free account
hub / github.com/GlobedGD/globed2 / onModuleInit

Method onModuleInit

src/modules/active-player-switch/APSModule.cpp:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10APSModule::APSModule() {}
11
12void APSModule::onModuleInit() {
13 this->setAutoEnableMode(AutoEnableMode::Level);
14}
15
16void APSModule::onJoinLevel(GlobedGJBGL* gjbgl, GJGameLevel* level, bool editor) {
17 if (!RoomManager::get().getSettings().switcheroo) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected