Fix spectator onLoad (#5523)

This commit is contained in:
PabstMirror 2017-09-17 16:42:29 -05:00 committed by jonpas
parent 1fd255c11e
commit 45d9a3a1a9

View File

@ -18,7 +18,7 @@ class GVAR(display) {
movingEnable = 0;
closeOnMissionEnd = 1;
onLoad = QUOTE(SETUVAR(GVAR(display),_this select 0));
onLoad = QUOTE(with uiNameSpace do {GVAR(display) = _this select 0};);
onKeyDown = QUOTE(_this call FUNC(ui_handleKeyDown));
onKeyUp = QUOTE(_this call FUNC(ui_handleKeyUp));