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; }