mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Made Plasma Exp+Freeze do explosions even when directly hitting a tee
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
This commit is contained in:
parent
277ce3b77e
commit
3497dd18d7
|
@ -31,7 +31,7 @@ bool CPlasma::HitCharacter()
|
|||
return false;
|
||||
if(m_Freeze)
|
||||
Hit->Freeze(Server()->TickSpeed()*3);
|
||||
else
|
||||
if(!m_Freeze || (m_Freeze && m_Explosive))
|
||||
GameServer()->CreateExplosion(m_Pos, -1, WEAPON_GRENADE, false);
|
||||
GameServer()->m_World.DestroyEntity(this);
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue