mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-21 19:06:29 +03:00
Add basic security checks to object_killed
PVDZ_veh_Save = [_obj,"killed"]; could be abused in the same way as
server_deleteObj (42e0047)
This commit is contained in:
@@ -68,7 +68,7 @@ player addMagazine _emptycan;
|
||||
PVDZ_obj_Destroy = [_objectID,_objectUID,player,_obj,dayz_authKey,false];
|
||||
publicVariableServer "PVDZ_obj_Destroy";
|
||||
|
||||
PVDZ_veh_Save = [_obj, "killed"];
|
||||
PVDZ_veh_Save = [_obj,"killed",false,false,dayz_playerUID,dayz_authKey];
|
||||
publicVariableServer "PVDZ_veh_Save";
|
||||
|
||||
//Set fire to item
|
||||
|
||||
Reference in New Issue
Block a user