1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-13 08:38:19 -05:00

fixed issue with mapname not being updated

This commit is contained in:
RaidMax
2015-04-27 22:29:43 -05:00
parent 8e7622c64e
commit 8a8d2e3ba6
6 changed files with 46 additions and 18 deletions

View File

@ -100,11 +100,11 @@ namespace IW4MAdmin
return new Event(GType.Say, Utilities.removeNastyChars(message), SV.clientFromEventLine(line, 2), null, SV);
}
if (eventType == ":")
return new Event(GType.MapEnd, null, null, null, null);
if (eventType == ":")
return new Event(GType.MapEnd, line[0], new Player("WORLD", "WORLD", 0, 0), null, null);
if (line[0].Length > 400) // blaze it
return new Event(GType.MapChange, line[0], null, null, null);
if (line[0].Split('\\').Length > 5) // blaze it
return new Event(GType.MapChange, line[0], new Player("WORLD", "WORLD", 0, 0), null, null);
return null;