Fixed players ignited twice on some anticamp volumes.
This commit is contained in:
parent
578f1f643c
commit
2830eb4c7d
@ -369,6 +369,9 @@ VolAnticampApplyAction(client, dataIndex, volumeIndex)
|
|||||||
// Validate amount.
|
// Validate amount.
|
||||||
if (amount > 0.0)
|
if (amount > 0.0)
|
||||||
{
|
{
|
||||||
|
// Extinguish player first.
|
||||||
|
ExtinguishEntity(client);
|
||||||
|
|
||||||
// Ignite player for "amount" seconds.
|
// Ignite player for "amount" seconds.
|
||||||
IgniteEntity(client, amount);
|
IgniteEntity(client, amount);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user