Backported changes from experimental branch.

Fixed crash on screen flashes due to misuse of StaticEventHandler.Find instead of EventHandler.Find (oops).
This commit is contained in:
Marisa the Magician 2019-02-08 14:43:39 +01:00
commit d69eaa682f
8 changed files with 60 additions and 18 deletions

View file

@ -1964,7 +1964,7 @@ Class UTMainHandler : EventHandler
qf.c = c;
qf.tic = gametic;
qf.cam = camera;
let hnd = UTMainHandler(StaticEventHandler.Find("UTMainHandler"));
let hnd = UTMainHandler(EventHandler.Find("UTMainHandler"));
hnd.flashes.push(qf);
}