mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Remove unused getWindow parameter
This commit is contained in:
2
distribution/openrct2.d.ts
vendored
2
distribution/openrct2.d.ts
vendored
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user