diff --git a/sources/Commands/ACommandSpawn.uc b/sources/Commands/ACommandSpawn.uc index c542151..ef0ebb3 100644 --- a/sources/Commands/ACommandSpawn.uc +++ b/sources/Commands/ACommandSpawn.uc @@ -100,8 +100,8 @@ private final function SpawnInInstigatorSight( local Vector spawnLocation; local TracingIterator iter; - iter = _server.kf.world.TracePlayerSight(instigator).LeaveOnlyVisible(); - if (iter.HasFinished()) + iter = _server.kf.world.TracePlayerSight(instigator); + if (iter.LeaveOnlyVisible().HasFinished()) { announcer.AnnounceFailedTrace(); return;