The dash effect is now ignored on the local player, because it was annoying. Copies of yourself could be in your way.

This commit is contained in:
stiffly
2016-03-02 16:56:43 +01:00
parent a5c086e389
commit 233a1d0990
+1 -1
View File
@@ -328,7 +328,7 @@ void PlayerMovementSystem::spawnHexagon(EntityWrapper target)
bool PlayerMovementSystem::OnDashAbility(Events::DashAbility & e)
{
EntityWrapper player(m_World, e.Player);
if (!player.Valid() || !IsClient) {
if (!player.Valid() || !IsClient || player.ID == LocalPlayer.ID) {
return false;
}