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:
parent
691fb8cee6
commit
d69eaa682f
8 changed files with 60 additions and 18 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue