Tiny test refactoring

This commit is contained in:
verysecrethero
2016-02-10 17:04:05 +01:00
parent f7756ff60f
commit 02cd822cf1
3 changed files with 29 additions and 24 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ void GameHealthSystemTest::Tick()
double currentHealth = (double)m_World->GetComponent(m_PlayersID, "Health")["Health"];
//if players health reach 50 means he got damaged by 50
if (currentHealth == 50) {
if (currentHealth == 50.0) {
m_TestStage1Success = true;
//heal player with 40
Events::PlayerHealthPickup e3;