WIP respawning.

This commit is contained in:
William Moberg
2016-02-11 17:08:45 +01:00
parent 97b915f130
commit 14054ad898
2 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ bool SoundSystem::OnInputCommand(const Events::InputCommand & e)
return true;
}
}
if (e.Command == "TakeDamage" && e.Value > 0 && m_LocalPlayer.Valid()) {
if (e.Command == "TakeDamage" && e.Value > 0 && LocalPlayer.Valid()) {
Events::PlayerDamage ev;
ev.Player = LocalPlayer;
ev.Damage = e.Value;