From 8cedd88ce259d407be844eadf5ef9d4eda54a2f0 Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Thu, 5 Jan 2023 10:58:36 +0100 Subject: [PATCH] #SCENERY - explain destroy doesn't work --- Moose Development/Moose/Wrapper/Scenery.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Moose Development/Moose/Wrapper/Scenery.lua b/Moose Development/Moose/Wrapper/Scenery.lua index 4cd321063..9f40bc230 100644 --- a/Moose Development/Moose/Wrapper/Scenery.lua +++ b/Moose Development/Moose/Wrapper/Scenery.lua @@ -225,3 +225,10 @@ function SCENERY:FindAllByZoneName( ZoneName ) end end end + +--- SCENERY objects cannot be destroyed via the API (at the punishment of game crash). +--@param #SCENERY self +--@return #SCENERY self +function SCENERY:Destroy() + return self +end \ No newline at end of file