Skip to content

Commit

Permalink
Merge pull request #192 from kevinfoley/master
Browse files Browse the repository at this point in the history
SwatEnemy: fix logging for the DropActiveWeapon chain
  • Loading branch information
eezstreet authored May 2, 2017
2 parents 39894e9 + baf8328 commit d58a9ad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Source/Game/SwatGame/Classes/AI/SwatEnemy.uc
Original file line number Diff line number Diff line change
Expand Up @@ -685,8 +685,10 @@ simulated final function DropActiveWeapon(optional vector WeaponSpaceDropDirecti
{
local HandheldEquipment ActiveItem;

mplog( self$"---SwatEnemy::DropActiveWeapon()." );

if ( Level.IsCoopServer )
NotifyClientsToDropActiveWeapon();
NotifyClientsToDropActiveWeapon();

ActiveItem = GetActiveItem();

Expand Down Expand Up @@ -782,7 +784,7 @@ function NotifyClientsToDropActiveWeapon()

Assert( Level.NetMode == NM_ListenServer || Level.NetMode == NM_DedicatedServer );

mplog( self$"$---SwatEnemy::NotifyClientsToDropAllWeapons()." );
mplog( self$"$---SwatEnemy::NotifyClientsToDropActiveWeapon()." );

theLocalPlayerController = Level.GetLocalPlayerController();
for ( i = Level.ControllerList; i != None; i = i.NextController )
Expand Down

0 comments on commit d58a9ad

Please sign in to comment.