Misc updates.

This commit is contained in:
hondacrx
2022-04-28 09:35:02 -04:00
parent 66a365f2f6
commit eb32529e9c
4 changed files with 7 additions and 52 deletions
@@ -88,9 +88,6 @@ namespace Game.Chat
if (!target || !target.IsAIEnabled())
return false;
if (!int.TryParse(duration_str, out int tempDuration))
tempDuration = 0;
TimeSpan duration = durationArg != 0 ? TimeSpan.FromSeconds(durationArg) : TimeSpan.Zero;
if (duration <= TimeSpan.Zero || duration >= TimeSpan.FromMinutes(30)) // arbitrary upper limit
duration = TimeSpan.FromMinutes(3);