Fixed intel value corruption when dialog closed too early
This commit is contained in:
parent
3e95ed240c
commit
35995074fa
|
@ -66,8 +66,9 @@ while { dialog && alive player && dostartsecondary == 0 } do {
|
|||
};
|
||||
|
||||
if ( dostartsecondary == 1 ) then {
|
||||
if !([2000,999999,false] call F_findOpforSpawnPoint isEqualTo "") then {
|
||||
[lbCurSel 101] remoteExec ["start_secondary_remote_call", 2];
|
||||
private _index = lbCurSel 101;
|
||||
if !([2000,999999,false] call F_findOpforSpawnPoint isEqualTo "") then {
|
||||
[_index] remoteExec ["start_secondary_remote_call", 2];
|
||||
} else {
|
||||
hint "There is not enough enemy territory left for secondary missions.";
|
||||
uiSleep 2;
|
||||
|
|
|
@ -161,6 +161,9 @@ class Missions
|
|||
|
||||
## Changelog
|
||||
|
||||
### 0.96.5 (TBD due to Contacts Release)
|
||||
* Fixed: Intel value could get corrupted if leaving the secondary dialog directly after starting a mission.
|
||||
|
||||
### 0.96.4 (10th May 2019 due to Global Mobilization Release)
|
||||
* Added: East Germany arsenal preset.
|
||||
* Added: West Germany arsenal preset. Thanks to [Dahlgren](https://github.com/Dahlgren)
|
||||
|
|
Loading…
Reference in New Issue