Small fix for an issue when cancel FOB placement
This commit is contained in:
parent
6c436b9c71
commit
6316809bfd
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue