mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
parent
bc55b1c654
commit
66fbbc819d
2 changed files with 4 additions and 8 deletions
|
|
@ -28,10 +28,6 @@ void djui_panel_do_host(bool reconnecting, bool playSound) {
|
|||
network_set_system(configNetworkSystem);
|
||||
|
||||
network_init(NT_SERVER, reconnecting);
|
||||
fake_lvl_init_from_save_file();
|
||||
|
||||
extern s16 gChangeLevelTransition;
|
||||
gChangeLevelTransition = gLevelValues.entryLevel;
|
||||
|
||||
if (gMarioState->marioObj) vec3f_copy(gMarioState->marioObj->header.gfx.cameraToObject, gGlobalSoundSource);
|
||||
if (playSound) { gDelayedInitSound = CHAR_SOUND_OKEY_DOKEY; }
|
||||
|
|
|
|||
|
|
@ -170,15 +170,15 @@ bool network_init(enum NetworkType inNetworkType, bool reconnecting) {
|
|||
djui_chat_box_create();
|
||||
djui_panel_shutdown();
|
||||
|
||||
fake_lvl_init_from_save_file();
|
||||
|
||||
mods_activate(&gLocalMods);
|
||||
djui_panel_modlist_create(NULL);
|
||||
smlua_init();
|
||||
dynos_behavior_hook_all_custom_behaviors();
|
||||
|
||||
if (gCurrLevelNum != (s16)gLevelValues.entryLevel) {
|
||||
extern s16 gChangeLevelTransition;
|
||||
gChangeLevelTransition = gLevelValues.entryLevel;
|
||||
}
|
||||
extern s16 gChangeLevelTransition;
|
||||
gChangeLevelTransition = gLevelValues.entryLevel;
|
||||
}
|
||||
|
||||
configfile_save(configfile_name());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue