Remove unused getWindow parameter

This commit is contained in:
Ted John 2020-04-24 13:26:55 +01:00
parent ad75cb0754
commit 4162ad0eb6
2 changed files with 2 additions and 2 deletions

View file

@ -640,7 +640,7 @@ declare global {
readonly mainViewport: Viewport;
getWindow(id: number): Window;
getWindow(classification: string, id?: number): Window;
getWindow(classification: string): Window;
openWindow(desc: WindowDesc): Window;
closeWindows(classification: string, id?: number): void;
closeAllWindows(): void;

View file

@ -101,7 +101,7 @@ namespace OpenRCT2::Scripting
window_close_all();
}
std::shared_ptr<ScWindow> getWindow(DukValue a, DukValue b)
std::shared_ptr<ScWindow> getWindow(DukValue a)
{
if (a.type() == DukValue::Type::NUMBER)
{