From 4c8ec5c10bb443d6b9922870f3628807da1c740c Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Mon, 24 Mar 2008 13:04:44 +0000 Subject: [PATCH] More show what is being replaced in the warning. --- stepmania/Themes/default/Scripts/ActorDef.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/Themes/default/Scripts/ActorDef.lua b/stepmania/Themes/default/Scripts/ActorDef.lua index 14f3ae53d8..536b2a2f0b 100644 --- a/stepmania/Themes/default/Scripts/ActorDef.lua +++ b/stepmania/Themes/default/Scripts/ActorDef.lua @@ -23,8 +23,8 @@ local function MergeTables( left, right ) local f2 = val val = function(...) f1(...); return f2(...) end else - Warn( string.format( "%s\n\nOverriding \"%s\"", - debug.traceback(), key) ); + Warn( string.format( "%s\n\nOverriding \"%s\": %s with %s", + debug.traceback(), key, type(ret[key]), type(val)) ); end end