Skip to content

Commit

Permalink
Update to v0.6.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Substrata1 committed Aug 4, 2024
1 parent 6be20bd commit 6705d20
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions Inbound.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace Oxide.Plugins
{
[Info("Inbound", "Substrata", "0.6.7")]
[Info("Inbound", "Substrata", "0.6.8")]
[Description("Broadcasts notifications when patrol helicopters, supply drops, cargo ships, etc. are inbound")]

class Inbound : RustPlugin
Expand Down Expand Up @@ -446,16 +446,16 @@ void InitVariables()
excavatorPos = monument.transform.localToWorldMatrix.MultiplyPoint3x4(new Vector3(20f,0,-30f));
continue;
}
if (name == "OilrigAI")
if (name == "assets/bundled/prefabs/autospawn/monument/offshore/oilrig_1.prefab")
{
hasOilRig = true;
oilRigPos = monument.transform.position;
hasLargeRig = true;
largeRigPos = monument.transform.position;
continue;
}
if (name == "OilrigAI2")
if (name == "assets/bundled/prefabs/autospawn/monument/offshore/oilrig_2.prefab")
{
hasLargeRig = true;
largeRigPos = monument.transform.position;
hasOilRig = true;
oilRigPos = monument.transform.position;
continue;
}
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"Version (Do not modify)": {
"Major": 0,
"Minor": 6,
"Patch": 7
"Patch": 8
}
}
```
Expand Down

0 comments on commit 6705d20

Please sign in to comment.