From f3119027652352d026e6961d4b03f9f1228facf3 Mon Sep 17 00:00:00 2001 From: freem Date: Mon, 4 Aug 2014 18:46:29 -0500 Subject: [PATCH] fix REALLY BAD TYPO in GradeDisplay:SetGrade Lua function. this is dumb and I'm too lazy to find out who's REALLY to blame so I want to assume it's my fault, probably. If anyone wants to bother clearing my name, check the stepmania SVN history. I don't care enough :v --- src/GradeDisplay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GradeDisplay.cpp b/src/GradeDisplay.cpp index 2569ed17b6..08de8feab0 100644 --- a/src/GradeDisplay.cpp +++ b/src/GradeDisplay.cpp @@ -47,7 +47,7 @@ public: } static int SetGrade( T* p, lua_State *L ) { - Grade g = Enum::Check(L, 2); + Grade g = Enum::Check(L, 1); p->SetGrade( g ); return 0; }