Skip to content

Commit

Permalink
oops №2
Browse files Browse the repository at this point in the history
  • Loading branch information
Rxup committed Feb 7, 2025
1 parent d997dd6 commit 53dc289
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private void Teleport(EntityUid uid, ShadowkinTeleportPowerComponent component,
return;

if(!_interaction.InRangeUnobstructed(args.Performer, args.Target, 0,
CollisionGroup.TeleportLayer,
CollisionGroup.Opaque,
predicate: (ent) => _tagSystem.HasTag(ent, "Structure"),
popup:true))
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public bool CanUsePsionicAbilities(EntityUid performer, EntityCoordinates target
return false;

if(!_interaction.InRangeUnobstructed(performer, target, 0,
CollisionGroup.TeleportLayer,
CollisionGroup.Opaque,
predicate: (ent) => _tagSystem.HasTag(ent, "Structure"),
popup:true))
return false;
Expand Down
2 changes: 1 addition & 1 deletion Content.Shared/Physics/CollisionGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public enum CollisionGroup
ThrownItem = Impassable | HighImpassable | BulletImpassable | BlobImpassable,
WallLayer = Opaque | Impassable | HighImpassable | MidImpassable | LowImpassable | BulletImpassable | InteractImpassable,
BlobTileLayer = Opaque | BlobImpassable | BulletImpassable, // backmen: blob
TeleportLayer = Opaque, //backmen: teleport(psionic, shadowkin)
//TeleportLayer = Opaque, //backmen: teleport(psionic, shadowkin)
GlassLayer = Impassable | HighImpassable | MidImpassable | LowImpassable | BulletImpassable | InteractImpassable,
HalfWallLayer = MidImpassable | LowImpassable,

Expand Down
12 changes: 6 additions & 6 deletions Resources/Maps/Corvax/Ruins/corvax_ussp_asteroid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11916,7 +11916,7 @@ entities:
- LowImpassable
layer:
- BulletImpassable
- TeleportLayer
- Opaque
density: 50
hard: True
restitution: 0
Expand Down Expand Up @@ -11970,7 +11970,7 @@ entities:
- LowImpassable
layer:
- BulletImpassable
- TeleportLayer
- Opaque
density: 50
hard: True
restitution: 0
Expand Down Expand Up @@ -12003,7 +12003,7 @@ entities:
- LowImpassable
layer:
- BulletImpassable
- TeleportLayer
- Opaque
density: 50
hard: True
restitution: 0
Expand Down Expand Up @@ -12036,7 +12036,7 @@ entities:
- LowImpassable
layer:
- BulletImpassable
- TeleportLayer
- Opaque
density: 50
hard: True
restitution: 0
Expand Down Expand Up @@ -13108,7 +13108,7 @@ entities:
- LowImpassable
layer:
- BulletImpassable
- TeleportLayer
- Opaque
density: 350
hard: True
restitution: 0
Expand Down Expand Up @@ -13154,7 +13154,7 @@ entities:
- LowImpassable
layer:
- BulletImpassable
- TeleportLayer
- Opaque
density: 350
hard: True
restitution: 0
Expand Down

0 comments on commit 53dc289

Please sign in to comment.