mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 08:45:00 +01:00
Remove unused function network_close
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "../interface/Viewport.h"
|
||||
#include "../interface/Window.h"
|
||||
#include "../localisation/Localisation.h"
|
||||
#include "../network/NetworkBase.h"
|
||||
#include "../network/network.h"
|
||||
#include "../scenario/Scenario.h"
|
||||
#include "../scenario/ScenarioRepository.h"
|
||||
@@ -124,7 +125,7 @@ void TitleScreen::Load()
|
||||
gScreenAge = 0;
|
||||
gCurrentLoadedPath = "";
|
||||
|
||||
network_close();
|
||||
GetContext()->GetNetwork().Close();
|
||||
OpenRCT2::Audio::StopAll();
|
||||
GetContext()->GetGameState()->InitAll(150);
|
||||
viewport_init_all();
|
||||
|
||||
Reference in New Issue
Block a user