Respawning and team picking seems to be working well.

This commit is contained in:
William Moberg
2016-02-12 00:39:27 +01:00
parent 11af6a3078
commit f1c2413cf9
@@ -22,6 +22,10 @@ bool DamageIndicatorSystem::OnPlayerDamage(Events::PlayerDamage& e)
return false;
}
if (!e.Inflictor.Valid() || !e.Victim.Valid()) {
return false;
}
//grab players direction
auto playerOrientation = glm::quat((glm::vec3)e.Victim["Transform"]["Orientation"]);