Fixed hangman bug? Fixed current time in logs
This commit is contained in:
		@@ -29,7 +29,7 @@ namespace NadekoBot.Modules.Administration
 | 
				
			|||||||
            private static Logger _log { get; }
 | 
					            private static Logger _log { get; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            private static string prettyCurrentTime => $"【{DateTime.Now:HH:mm:ss}】";
 | 
					            private static string prettyCurrentTime => $"【{DateTime.Now:HH:mm:ss}】";
 | 
				
			||||||
            private static string currentTime = $"{DateTime.Now:HH:mm:ss}";
 | 
					            private static string currentTime => $"{DateTime.Now:HH:mm:ss}";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            public static ConcurrentDictionary<ulong, LogSetting> GuildLogSettings { get; }
 | 
					            public static ConcurrentDictionary<ulong, LogSetting> GuildLogSettings { get; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -45,7 +45,7 @@ namespace NadekoBot.Modules.Games.Commands.Hangman
 | 
				
			|||||||
            HangmanObject[] termTypes;
 | 
					            HangmanObject[] termTypes;
 | 
				
			||||||
            data.TryGetValue(type, out termTypes);
 | 
					            data.TryGetValue(type, out termTypes);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if (termTypes.Length == 0)
 | 
					            if (termTypes == null || termTypes.Length == 0)
 | 
				
			||||||
                return null;
 | 
					                return null;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            return termTypes[rng.Next(0, termTypes.Length)];
 | 
					            return termTypes[rng.Next(0, termTypes.Length)];
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user