From c751ad5a975a9b73cce63df9f9d48f9edf46a9de Mon Sep 17 00:00:00 2001 From: biwa <6475593+biwa@users.noreply.github.com> Date: Thu, 20 Oct 2022 20:00:28 +0200 Subject: [PATCH] Things Mode: fixed an issue where the thing info panel did not show enum values for the first argument. Fixes #804 --- Source/Core/Controls/ThingInfoPanel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Controls/ThingInfoPanel.cs b/Source/Core/Controls/ThingInfoPanel.cs index 200f2add..8515359d 100755 --- a/Source/Core/Controls/ThingInfoPanel.cs +++ b/Source/Core/Controls/ThingInfoPanel.cs @@ -208,8 +208,8 @@ namespace CodeImp.DoomBuilder.Controls //mxd. Set argument value and label if (isarg0str) arg1.Text = arg0str; - else SetArgumentText(act.Args[0], arg1, t.Args[0]); - SetArgumentText(arginfo[1], arg2, t.Args[1]); + else SetArgumentText(arginfo[0], arg1, t.Args[0]); + SetArgumentText(arginfo[1], arg2, t.Args[1]); SetArgumentText(arginfo[2], arg3, t.Args[2]); SetArgumentText(arginfo[3], arg4, t.Args[3]); SetArgumentText(arginfo[4], arg5, t.Args[4]);