mirror of https://github.com/AxioDL/metaforce.git
Update submodules
This commit is contained in:
parent
6988f86672
commit
08d15514a9
|
@ -1 +1 @@
|
|||
Subproject commit 478d75f1cb6ff25fbbd0d22357b6de395c3ab662
|
||||
Subproject commit 0ada695c7a9a774a233211fe73e86b0779c3073a
|
|
@ -1 +1 @@
|
|||
Subproject commit deefc8e99520ffacd0d70c27a6beeb1047a0c131
|
||||
Subproject commit ae5d7e51316d149e1f52ff715a7e72a5c6906db5
|
|
@ -209,7 +209,7 @@ void CVarManager::setCVar(Console* con, const std::vector<std::string>& args) {
|
|||
std::string cvName = args[0];
|
||||
athena::utility::tolower(cvName);
|
||||
if (m_cvars.find(cvName) == m_cvars.end()) {
|
||||
con->report(Console::Level::Error, fmt("CVar '%s' does not exist"), args[0].c_str());
|
||||
con->report(Console::Level::Error, fmt("CVar '{}' does not exist"), args[0]);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -225,9 +225,9 @@ void CVarManager::setCVar(Console* con, const std::vector<std::string>& args) {
|
|||
return;
|
||||
|
||||
if (!cv->fromLiteralToType(value))
|
||||
con->report(Console::Level::Warning, fmt("Unable to set cvar '%s' to value '%s'"), cv->name().data(), value.c_str());
|
||||
con->report(Console::Level::Warning, fmt("Unable to set cvar '{}' to value '{}'"), cv->name(), value);
|
||||
else
|
||||
con->report(Console::Level::Info, fmt("Set '%s' from '%s' to '%s'"), cv->name().data(), oldVal.c_str(), value.c_str());
|
||||
con->report(Console::Level::Info, fmt("Set '{}' from '{}' to '{}'"), cv->name(), oldVal, value);
|
||||
}
|
||||
|
||||
void CVarManager::getCVar(Console* con, const std::vector<std::string>& args) {
|
||||
|
@ -239,12 +239,12 @@ void CVarManager::getCVar(Console* con, const std::vector<std::string>& args) {
|
|||
std::string cvName = args[0];
|
||||
athena::utility::tolower(cvName);
|
||||
if (m_cvars.find(cvName) == m_cvars.end()) {
|
||||
con->report(Console::Level::Error, fmt("CVar '%s' does not exist"), args[0].c_str());
|
||||
con->report(Console::Level::Error, fmt("CVar '{}' does not exist"), args[0]);
|
||||
return;
|
||||
}
|
||||
|
||||
const auto& cv = m_cvars[cvName];
|
||||
con->report(Console::Level::Info, fmt("'%s' = '%s'"), cv->name().data(), cv->value().c_str());
|
||||
con->report(Console::Level::Info, fmt("'{}' = '{}'"), cv->name(), cv->value());
|
||||
}
|
||||
|
||||
void CVarManager::setDeveloperMode(bool v, bool setDeserialized) {
|
||||
|
|
Loading…
Reference in New Issue