From dd2e8347e28a58d51303979a2f521ea118519ce7 Mon Sep 17 00:00:00 2001 From: ARSON <58544287+Upbolt@users.noreply.github.com> Date: Sat, 6 Nov 2021 22:51:55 -0700 Subject: [PATCH] swapped tostring methods in createargs --- ui/modules/RemoteSpy.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ui/modules/RemoteSpy.lua b/ui/modules/RemoteSpy.lua index 0c35b157..17e4d8fd 100644 --- a/ui/modules/RemoteSpy.lua +++ b/ui/modules/RemoteSpy.lua @@ -369,7 +369,13 @@ local function createArg(instance, index, value) arg.Icon.Image = oh.Constants.Types[valueType] arg.Index.Text = index - arg.Label.Text = toString(value) + + if valueType == "table" then + arg.Label.Text = toString(value) + else + arg.Label.Text = dataToString(value) + end + arg.Label.TextColor3 = oh.Constants.Syntax[valueType] arg.Parent = instance.Contents @@ -858,7 +864,7 @@ scriptContext:SetCallback(function() elseif valueType == "table" then v = tableToString(v) elseif valueType == "string" then - v = '"' .. dataToString(v) .. '"' + v = dataToString(v) else v = toString(v) end