Fix ConGameSpeed checking for no args

This commit is contained in:
AdamBrown0
2025-12-26 20:36:36 +00:00
committed by dP
parent b2d193a946
commit 8c8ed6dec6

View File

@@ -47,7 +47,7 @@ void IConsoleError(fmt::format_string<Args...> format, Args&&... args) {
}
bool ConGameSpeed(std::span<std::string_view> argv) {
if (argv.empty() == 0 || argv.size() > 2) {
if (argv.empty() || argv.size() > 2) {
IConsoleHelp("Changes game speed. Usage: 'cmgamespeed [n]'");
return true;
}