From 2bcaeb1fef59999fc048b9e9861bad934e815629 Mon Sep 17 00:00:00 2001 From: Martin Ambrus Date: Fri, 24 Nov 2017 16:02:54 +0100 Subject: [PATCH] fix: undefined index --- GameEngine/Database.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/GameEngine/Database.php b/GameEngine/Database.php index a5af9b2c..02e659f5 100755 --- a/GameEngine/Database.php +++ b/GameEngine/Database.php @@ -6445,6 +6445,11 @@ References: User ID/Message ID, Mode if (!isset($movingunits['hero'])) { $movingunits['hero'] = 0; } + + if (!isset($out['t11'])) { + $out['t11'] = 0; + } + $movingunits['hero'] += $out['t11']; } }