Make sure load spawns the function, not calls it.

This commit is contained in:
Nou 2015-04-25 00:52:51 -07:00
parent c8e6e7018c
commit 7c857a5a7e

View File

@ -103,7 +103,7 @@ DFUNC(mouseZHandler) = {
[false] call FUNC(disableUserInput);
};
addMissionEventHandler ["Loaded", FUNC(mouseZHandler)];
addMissionEventHandler ["Loaded", {[] spawn FUNC(mouseZHandler)}];
[] spawn FUNC(mouseZHandler);