mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-19 16:14:44 +00:00
Allow FF
This commit is contained in:
parent
8a2fed340c
commit
35f0804b14
|
|
@ -2455,8 +2455,7 @@ function deleteNonSCtFObjects()
|
||||||
{
|
{
|
||||||
%c = 0;
|
%c = 0;
|
||||||
InitContainerRadiusSearch("0 0 0", 9999, $TypeMasks::ItemObjectType |
|
InitContainerRadiusSearch("0 0 0", 9999, $TypeMasks::ItemObjectType |
|
||||||
$TypeMasks::TurretObjectType | $TypeMasks::ForceFieldObjectType |
|
$TypeMasks::TurretObjectType | $TypeMasks::VehicleObjectType | $TypeMasks::StaticShapeObjectType); //For FF: $TypeMasks::ForceFieldObjectType
|
||||||
$TypeMasks::VehicleObjectType | $TypeMasks::StaticShapeObjectType);
|
|
||||||
while ((%obj = containerSearchNext()) != 0)
|
while ((%obj = containerSearchNext()) != 0)
|
||||||
{
|
{
|
||||||
if(%obj.Datablock !$= "flag" && %obj.Datablock !$= "RepairKit" && %obj.Datablock !$= "RepairPatch") //Dont delete these...
|
if(%obj.Datablock !$= "flag" && %obj.Datablock !$= "RepairKit" && %obj.Datablock !$= "RepairPatch") //Dont delete these...
|
||||||
|
|
@ -2472,6 +2471,6 @@ function deleteNonSCtFObjects()
|
||||||
}
|
}
|
||||||
|
|
||||||
//Delete all ForceField PhysicalZones (PZones)
|
//Delete all ForceField PhysicalZones (PZones)
|
||||||
if(isObject(PZones))
|
// if(isObject(PZones))
|
||||||
PZones.schedule(1500,"delete");
|
// PZones.schedule(1500,"delete");
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue