From 33b47f4319f81c56c0dfac6049d6516856f58aeb Mon Sep 17 00:00:00 2001 From: Martin Ambrus Date: Tue, 26 Dec 2017 17:38:01 +0100 Subject: [PATCH] fix: hero attributes incorrectly adjusted on levelling up #341 --- GameEngine/Automation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameEngine/Automation.php b/GameEngine/Automation.php index 54dfccee..56bae211 100755 --- a/GameEngine/Automation.php +++ b/GameEngine/Automation.php @@ -4751,7 +4751,7 @@ class Automation { } if (count($columns)) { - $database->modifyHero( $columns, $columnValues, $hdata['heroid'] ); + $database->modifyHero( $columns, $columnValues, $hdata['heroid'], $modes ); } }