Apply suggestions from code review
Co-authored-by: Lucas Nicodemus <shank@shanked.me>
This commit is contained in:
parent
3b0c5f7775
commit
9209ac0b73
3 changed files with 4 additions and 4 deletions
|
|
@ -6,7 +6,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin
|
|||
* Update for OTAPI 2.0.0.36 and Terraria 1.4.0.4. (@hakusaro, @Patrikkk, @DeathCradle)
|
||||
* Fixed /wind command. (@AxeelAnder)
|
||||
* Fixed NPC buff bouncer. (@AxeelAnder)
|
||||
* Fix fluid bombs. (@Olink)
|
||||
* Fixed lava, wet, and honey bombs. (@Olink)
|
||||
|
||||
## TShock 4.4.0 (Pre-release 7 (Entangled))
|
||||
* Fixed bed spawn issues when trying to remove spawn point in SSC. (@Olink)
|
||||
|
|
|
|||
|
|
@ -1303,7 +1303,7 @@ namespace TShockAPI
|
|||
}
|
||||
|
||||
bool wasThereABombNearby = false;
|
||||
|
||||
// The +/- 16 is compensation for maximum detonation distance, but it might be possible to drop to 5 and be conservative
|
||||
lock (args.Player.RecentlyCreatedProjectiles)
|
||||
{
|
||||
var keys = projectileCreatesLiquid.Where(k => k.Value == type).Select(k => k.Key);
|
||||
|
|
|
|||
|
|
@ -765,8 +765,8 @@ namespace TShockAPI
|
|||
public int LastKilledProjectile = 0;
|
||||
|
||||
/// <summary>
|
||||
/// Keeps track of recently created projectiles by this player. TShock.cs OnSecondUpdate() removes from this in an async task.
|
||||
/// Projectiles older than 5 seconds are purged from this collection as they are no longer "recent".
|
||||
/// Keeps track of recently created projectiles by this player. TShock.cs OnSecondUpdate() removes from this in an async task.
|
||||
/// Projectiles older than 5 seconds are purged from this collection as they are no longer "recent."
|
||||
/// </summary>
|
||||
internal List<TShockAPI.GetDataHandlers.ProjectileStruct> RecentlyCreatedProjectiles = new List<TShockAPI.GetDataHandlers.ProjectileStruct>();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue