Minestrike cleans up incendiary at the end of rounds
This commit is contained in:
parent
969c7c0fde
commit
79e808814a
@ -94,6 +94,14 @@ public class BlockRestore extends MiniPlugin
|
||||
_blocks.remove(block).restore();
|
||||
}
|
||||
|
||||
public void RestoreAll()
|
||||
{
|
||||
for (BlockRestoreData data : _blocks.values())
|
||||
data.restore();
|
||||
|
||||
_blocks.clear();
|
||||
}
|
||||
|
||||
public HashSet<Location> RestoreBlockAround(Material type, Location location, int radius)
|
||||
{
|
||||
HashSet<Location> restored = new HashSet<Location>();
|
||||
|
@ -1910,6 +1910,7 @@ public class MineStrike extends TeamGame
|
||||
|
||||
//Incendiary
|
||||
_incendiary.clear();
|
||||
Manager.GetBlockRestore().RestoreAll();
|
||||
|
||||
//Restock Ammo
|
||||
for (Gun gun : _gunsEquipped.keySet())
|
||||
|
Loading…
Reference in New Issue
Block a user