1
0
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:
ZehMatt
2021-08-17 06:33:50 +03:00
parent 0960413927
commit 4ece997ff3
3 changed files with 2 additions and 10 deletions

View File

@@ -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();