mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-12 15:46:06 +00:00
fix: incorrect hero return time calculation
This commit is contained in:
@@ -5717,7 +5717,7 @@ References: User ID/Message ID, Mode
|
||||
$q = "SELECT * FROM ".TB_PREFIX."hero WHERE uid = $uid AND dead = 0";
|
||||
$result = mysqli_query($this->dblink,$q);
|
||||
|
||||
self::$heroFieldCache[$uid.$field] = $this->mysqli_fetch_all($result);
|
||||
self::$heroFieldCache[$uid.$field] = $this->mysqli_fetch_all($result)[0];
|
||||
return self::$heroFieldCache[$uid.$field][$field];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user