mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-23 02:41:58 -05:00
Remove unused getWindow parameter
This commit is contained in:
parent
ad75cb0754
commit
4162ad0eb6
2 changed files with 2 additions and 2 deletions
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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue