Fixed intel value corruption when dialog closed too early

This commit is contained in:
Wyqer 2019-05-30 12:28:53 +02:00
parent 3e95ed240c
commit 35995074fa
No known key found for this signature in database
GPG Key ID: D7E2F8BD7F1E48FA
2 changed files with 6 additions and 2 deletions

View File

@ -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;

View File

@ -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)