Remove redundant code at Noteskins/pump/default/Noteskin.lua

Unless this is a compatibility code for something/there is a inexplicable bug somewhere that needs this here.
This commit is contained in:
Pedro Cardoso da Silva
2015-02-17 14:44:44 -02:00
parent 955c807dd5
commit 55dd4f0a95
+1 -6
View File
@@ -101,11 +101,6 @@ local function func()
sButton = "UpLeft"
end
local path = NOTESKIN:GetPath(sButton,ElementToLoad)
if ( string.find(sElement,"Hold") or string.find(sElement,"Roll") )
and not ( string.find(sElement,"Head") or string.find(sElement,"Tail") )
then
path = NOTESKIN:GetPath(sButton,ElementToLoad)
end
local t = LoadActor(path)
@@ -128,4 +123,4 @@ end
Noteskin.Load = func
Noteskin.CommonLoad = func
return Noteskin
return Noteskin