Removes implicit this.
This commit is contained in:
parent
04b4cfe75b
commit
83dcf536d8
533 changed files with 2804 additions and 2806 deletions
|
|
@ -74,7 +74,7 @@ namespace Server.Factions
|
|||
Conceal();
|
||||
|
||||
DoVisibleEffect();
|
||||
Effects.PlaySound( this.Location, this.Map, this.EffectSound );
|
||||
Effects.PlaySound( Location, Map, EffectSound );
|
||||
DoAttackEffect( from );
|
||||
|
||||
int silverToAward = ( from.Alive ? 20 : 40 );
|
||||
|
|
@ -120,7 +120,7 @@ namespace Server.Factions
|
|||
{
|
||||
foreach( Item item in m.GetItemsInRange( p, 0 ) )
|
||||
{
|
||||
if ( item is BaseFactionTrap trap && trap.Faction == this.Faction )
|
||||
if ( item is BaseFactionTrap trap && trap.Faction == Faction )
|
||||
return 1075263; // There is already a trap belonging to your faction at this location.;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue