From 6ec4691448da1cbd47b209b870e589d5a13120c7 Mon Sep 17 00:00:00 2001 From: ithinkandicode Date: Wed, 29 Apr 2020 20:50:41 +0100 Subject: [PATCH] fix: Fix room view setting for width (was set to ViewHeight) --- ExportToGMS1Project.csx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExportToGMS1Project.csx b/ExportToGMS1Project.csx index 9e92e44..edf2066 100644 --- a/ExportToGMS1Project.csx +++ b/ExportToGMS1Project.csx @@ -376,7 +376,7 @@ void ExportRoom(UndertaleRoom room) new XAttribute("objName", i.ObjectId is null ? "" : i.ObjectId.Name.Content), new XAttribute("xview", i.ViewX.ToString()), new XAttribute("yview", i.ViewY.ToString()), - new XAttribute("wview", i.ViewHeight.ToString()), + new XAttribute("wview", i.ViewWidth.ToString()), new XAttribute("hview", i.ViewHeight.ToString()), new XAttribute("xport", i.PortX.ToString()), new XAttribute("yport", i.PortY.ToString()),