Fix boostedCreature fetch on login.php

This commit is contained in:
slawkens 2025-04-23 18:05:14 +02:00
parent fa1f927082
commit 4e6aa0f262

View File

@ -86,7 +86,7 @@ switch ($action) {
die(json_encode(['eventlist' => $eventlist, 'lastupdatetimestamp' => time()]));
case 'boostedcreature':
$boostedCreature = BoostedCreature::latest();
$boostedCreature = BoostedCreature::first();
die(json_encode([
'boostedcreature' => true,
'raceid' => $boostedCreature->raceid