Fix css_sa_upgrade

This commit is contained in:
Dawid Bepierszcz
2024-03-30 10:56:25 +01:00
parent 3a977f688c
commit 9d513a92a1

View File

@@ -43,7 +43,10 @@ namespace CS2_SimpleAdmin
commandSql2.CommandText = commandText; commandSql2.CommandText = commandText;
await commandSql2.ExecuteNonQueryAsync(); await commandSql2.ExecuteNonQueryAsync();
Server.NextFrame(() =>
{
command.ReplyToCommand($"Successfully updated the database - {ModuleVersion}"); command.ReplyToCommand($"Successfully updated the database - {ModuleVersion}");
});
} }
catch (Exception ex) catch (Exception ex)
{ {