mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fix spectator view if called instantly
If you call setSpectator directly from init.sqf you'll be put into some weird limbo mode with borders and spectator not working. This should fix it
This commit is contained in:
parent
3471ebef16
commit
dcbf977d6d
@ -72,8 +72,10 @@ if (_set) then {
|
|||||||
closeDialog 0;
|
closeDialog 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Create the display
|
[{
|
||||||
(findDisplay 46) createDisplay QGVAR(interface);
|
// Create the display
|
||||||
|
(findDisplay 46) createDisplay QGVAR(interface);
|
||||||
|
}, []] call EFUNC(common,execNextFrame);
|
||||||
|
|
||||||
// Cache and disable nametag settings
|
// Cache and disable nametag settings
|
||||||
if (["ace_nametags"] call EFUNC(common,isModLoaded)) then {
|
if (["ace_nametags"] call EFUNC(common,isModLoaded)) then {
|
||||||
|
Loading…
Reference in New Issue
Block a user