(svn r1250) -Fix: a dedicated server could not kick user number 1

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
truelight 20 years ago
parent 3f87f29a81
commit c48ba54a09

@ -190,7 +190,7 @@ DEF_CONSOLE_CMD(ConKick)
if (argc == 2) {
uint32 index = atoi(argv[1]);
if (index == NETWORK_SERVER_INDEX) {
if (index == NETWORK_SERVER_INDEX && !_network_dedicated) {
IConsolePrint(_iconsole_color_default, "Silly boy, you can not kick yourself!");
return NULL;
}

Loading…
Cancel
Save