mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 09:49:22 +02:00
Add check for player_deaths columns
This commit is contained in:
parent
d34f7eb2fc
commit
37a27b8065
@ -285,7 +285,7 @@ WHERE killers.death_id = '".$death['id']."' ORDER BY killers.final_hit DESC, kil
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else if ($db->hasColumn('player_deaths', 'time') && $db->hasColumn('player_deaths', 'level') && $db->hasColumn('player_deaths', 'killed_by') && $db->hasColumn('player_deaths', 'is_player')) {
|
||||||
$mostdamage = '';
|
$mostdamage = '';
|
||||||
if($db->hasColumn('player_deaths', 'mostdamage_by'))
|
if($db->hasColumn('player_deaths', 'mostdamage_by'))
|
||||||
$mostdamage = ', `mostdamage_by`, `mostdamage_is_player`, `unjustified`, `mostdamage_unjustified`';
|
$mostdamage = ', `mostdamage_by`, `mostdamage_is_player`, `unjustified`, `mostdamage_unjustified`';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user