Browse Source

Change to adapt to AcediaCore's iterator changes

feature_improvement
Anton Tarasenko 2 years ago
parent
commit
ee77a99dc5
  1. 4
      sources/Commands/ACommandSpawn.uc

4
sources/Commands/ACommandSpawn.uc

@ -100,8 +100,8 @@ private final function SpawnInInstigatorSight(
local Vector spawnLocation; local Vector spawnLocation;
local TracingIterator iter; local TracingIterator iter;
iter = _server.kf.world.TracePlayerSight(instigator).LeaveOnlyVisible(); iter = _server.kf.world.TracePlayerSight(instigator);
if (iter.HasFinished()) if (iter.LeaveOnlyVisible().HasFinished())
{ {
announcer.AnnounceFailedTrace(); announcer.AnnounceFailedTrace();
return; return;

Loading…
Cancel
Save