Skip to content

Commit

Permalink
fix maps $ accesses
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirus59 committed Jan 22, 2025
1 parent c963e8d commit dd1d012
Show file tree
Hide file tree
Showing 5 changed files with 21,179 additions and 21,277 deletions.
4 changes: 2 additions & 2 deletions Content.Server/Weapons/Ranged/Systems/GunSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,10 @@ public override void Shoot(EntityUid gunUid, GunComponent gun, List<(EntityUid?
}
}

var hit = result.Value.HitEntity; // SS220 add barricade
var hit = result.HitEntity;
lastHit = hit;

FireEffects(fromEffect, result.Value.Distance, dir.Normalized().ToAngle(), hitscan, hit); // SS220 add barricade
FireEffects(fromEffect, result.Distance, dir.Normalized().ToAngle(), hitscan, hit);

var ev = new HitScanReflectAttemptEvent(user, gunUid, hitscan.Reflective, dir, false);
RaiseLocalEvent(hit, ref ev);
Expand Down
Loading

0 comments on commit dd1d012

Please sign in to comment.