We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ec8bec commit d267310Copy full SHA for d267310
1 file changed
lib/gamemode.rb
@@ -111,8 +111,12 @@ def constructor_body
111
'',
112
"m_pStatsTable = \"#{@controller.name_snake}\";",
113
"m_pExtraColumns = nullptr; // new C#{@controller.name}Columns();",
114
- 'm_pSqlStats->SetExtraColumns(m_pExtraColumns);',
115
- 'm_pSqlStats->CreateTable(m_pStatsTable);'
+ 'Db()->Stats()->SetExtraColumns(m_pExtraColumns);',
+ '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);'
120
].map { |m| m == '' ? '' : "\t#{m}" }.join("\n")
121
end
122
0 commit comments