mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 18:36:29 +03:00
Allow removal of RIS from SA58_RIS_DZ
Note RIS can not be removed from higher variants due to other attachments depending on the RIS being attached first. Closes #1940
This commit is contained in:
@@ -53,6 +53,15 @@ class SA58_RIS_DZ : SA58_DZ
|
||||
Attachment_FL = "SA58_RIS_FL_DZ";
|
||||
Attachment_MFL = "SA58_RIS_MFL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveRIS
|
||||
{
|
||||
text = $STR_DZ_ATT_RIS_RMVE;
|
||||
script = "; ['Attachment_SA58RIS',_id,'SA58_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class SA58_RIS_FL_DZ : SA58_RIS_DZ
|
||||
|
||||
Reference in New Issue
Block a user