Small fix for an issue when cancel FOB placement

This commit is contained in:
Christian 2017-09-01 08:26:07 +02:00
parent 6c436b9c71
commit 6316809bfd
2 changed files with 5 additions and 1 deletions

View File

@ -312,7 +312,7 @@ class Mission
dataType="Marker";
position[]={14660.77,0,19471.467};
name="factory";
text="Fat Refridgerators Inc";
text="Fat Refrigerators Inc";
type="loc_Fuelstation";
colorName="ColorEAST";
id=3;

View File

@ -36,9 +36,13 @@ if(_clearedtobuildfob) then {
if (!_clearedtobuildfob) then {
hint format [localize "STR_FOB_BUILDING_IMPOSSIBLE",floor _minfobdist,floor _distfob];
FOB_build_in_progress = false;
publicVariable "FOB_build_in_progress";
} else {
if ( !_clearedtobuildsector ) then {
hint format [localize "STR_FOB_BUILDING_IMPOSSIBLE_SECTOR",floor _minsectordist,floor _distsector];
FOB_build_in_progress = false;
publicVariable "FOB_build_in_progress";
} else {
buildtype = 99;
dobuild = 1;