Skip to content

Commit d267310

Browse files
committed
Renamed m_pSqlStats
1 parent 2ec8bec commit d267310

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

lib/gamemode.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,12 @@ def constructor_body
111111
'',
112112
"m_pStatsTable = \"#{@controller.name_snake}\";",
113113
"m_pExtraColumns = nullptr; // new C#{@controller.name}Columns();",
114-
'm_pSqlStats->SetExtraColumns(m_pExtraColumns);',
115-
'm_pSqlStats->CreateTable(m_pStatsTable);'
114+
'Db()->Stats()->SetExtraColumns(m_pExtraColumns);',
115+
'Db()->Stats()->CreateTable(m_pStatsTable);',
116+
'',
117+
'// activate additional accounts tables here',
118+
'// first define the table in ddnet-nsta/datasrc/acc_tables/yourtable.py',
119+
'// EnableAccTable(EExtraAccTable::YOUR_TABLE);'
116120
].map { |m| m == '' ? '' : "\t#{m}" }.join("\n")
117121
end
118122

0 commit comments

Comments
 (0)