From bd483b69b1e89b3716eb45a563b88b7ced600930 Mon Sep 17 00:00:00 2001 From: Josh Allen Date: Fri, 24 Nov 2006 05:56:56 +0000 Subject: [PATCH] Get the scoreboard grades the correct way and fix returned enumerated type from lua --- stepmania/src/NetworkSyncManager.cpp | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/stepmania/src/NetworkSyncManager.cpp b/stepmania/src/NetworkSyncManager.cpp index df0ceb0c6b..e3a6c7e226 100644 --- a/stepmania/src/NetworkSyncManager.cpp +++ b/stepmania/src/NetworkSyncManager.cpp @@ -652,25 +652,7 @@ void NetworkSyncManager::ProcessInput() case NSSB_GRADE: ColumnData = "Grade\n"; for (int i=0;iReportStyle(); return true; } -LuaFunction( IsSMOnlineLoggedIn, NSMAN->isSMOLoggedIn[IArg(1)] ) +LuaFunction( IsSMOnlineLoggedIn, NSMAN->isSMOLoggedIn[Enum::Check(L, 1)] ) LuaFunction( IsNetConnected, NSMAN->useSMserver ) LuaFunction( IsNetSMOnline, NSMAN->isSMOnline ) LuaFunction( ReportStyle, ReportStyle() )