mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-19 18:06:32 +03:00
cancel building if ESC is pressed
This commit is contained in:
@@ -14,6 +14,8 @@ _reason = "";
|
||||
_canBuildOnPlot = false;
|
||||
DZE_BuildingZ = 0;
|
||||
|
||||
DZE_cancelBuilding = false;
|
||||
|
||||
DZE_5 = false;
|
||||
|
||||
call gear_ui_init;
|
||||
@@ -216,7 +218,6 @@ if (_hasrequireditem) then {
|
||||
_reason = "Cancelled building.";
|
||||
detach _object;
|
||||
deleteVehicle _object;
|
||||
DZE_cancelBuilding = false;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user