From 383a01e3b5c53b7b1357b1865a36cfb4f6be59c6 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 7 Feb 2007 05:59:34 +0000 Subject: [PATCH] error check --- stepmania/NoteSkins/common/common/NoteSkin.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/NoteSkins/common/common/NoteSkin.lua b/stepmania/NoteSkins/common/common/NoteSkin.lua index 74115e7a97..ebf6f2d9a5 100644 --- a/stepmania/NoteSkins/common/common/NoteSkin.lua +++ b/stepmania/NoteSkins/common/common/NoteSkin.lua @@ -37,6 +37,8 @@ local function func() end local sButtonToLoad, sElementToLoad = ret.Redir(sButton, sElement); + assert( sButtonToLoad ); + assert( sElementToLoad ); local sPath = NOTESKIN:GetPath( sButtonToLoad, sElementToLoad );