Rider static analysis (#433)
* Non-accessed local variable * Merge cast and type checks. * StringComparison.Ordinal added for better culture support * Supposed code improvement in launcher. Remove unused code. * Update ExplosionHelper.cs Unintentional change. * Optimized Import * Add Robust.Shared.Utility import where it was deleted * Other random suggestion * Improve my comment
This commit is contained in:
committed by
Pieter-Jan Briers
parent
62b31eee00
commit
b2e2aef78d
@@ -1,8 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Content.Server.GameObjects.Components.Mobs;
|
||||
using Content.Server.GameObjects.EntitySystems;
|
||||
using Content.Shared.Maps;
|
||||
@@ -119,7 +116,7 @@ namespace Content.Server.Explosions
|
||||
entitySystemManager.GetEntitySystem<AudioSystem>().Play("/Audio/effects/explosion.ogg", coords);
|
||||
|
||||
// Knock back cameras of all players in the area.
|
||||
|
||||
|
||||
var playerManager = IoCManager.Resolve<IPlayerManager>();
|
||||
//var selfPos = Owner.Transform.WorldPosition; //vec2
|
||||
var selfPos = coords.ToWorld(mapManager).Position;
|
||||
|
||||
Reference in New Issue
Block a user