home · contact · privacy
Server: Some refactoring.
[plomrogue] / src / server / run.c
index 786b280adb050a64b47edc19e1cecdad46ad55bb..301a0bae48987c375851a5133aacf35aa0a05557 100644 (file)
@@ -75,8 +75,7 @@ static uint8_t player_commands_allowed()
 {
     if (!world.exists)
     {
-        err_line(1, "No world exists in which to run player commands.");
-        return 0;
+        return !err_line(1, "No world exists in which to run player commands.");
     }
     return 1;
 }