Fixes Script loading.

Some cleanup on array Clear
Misc errors
This commit is contained in:
hondacrx
2017-12-24 16:37:15 -05:00
parent 9937d1e421
commit c7219c7098
15 changed files with 30 additions and 13 deletions
+1 -1
View File
@@ -215,7 +215,7 @@ namespace Game
SQLResult result = DB.World.Query("SELECT eventEntry, UNIX_TIMESTAMP(start_time), UNIX_TIMESTAMP(end_time), occurence, length, holiday, description, world_event, announce FROM game_event");
if (result.IsEmpty())
{
mGameEvent.Initialize();
mGameEvent.Clear();
Log.outInfo(LogFilter.ServerLoading, "Loaded 0 game events. DB table `game_event` is empty.");
return;
}