TisTheSeason

1 - Prevent nil-pointer exception outside seasonal periods

What does the provided patch do?
Outside seasonal periods it is well possible that TisTheSeasonLog[WatchedEvent] is nil and still passed to pairs(...) giving an exception on line 241 in TisTheSeason.lua Line numbers are versus version 4.0.3.

Please provide any additional information below.

On line 241 add:
if TisTheSeasonLog[WatchedEvent] then

On line 252 add:
end;

User When Change
CMTitan Nov 22, 2011 at 13:05 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Last updated
Mar 30, 2012
Reported
Nov 22, 2011
Status
New - Issue has not had initial review yet.
Type
Patch - Source code patch for review
Priority
Medium - Normal priority.
Votes
1

Reported by

Possible assignees