mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Areatrigger/Names
* fix unnamed areatrigger after fetching them from DB and not clientside Mail/Names * fix unnamed mails after fetching them from DB and not clientside
This commit is contained in:
@@ -384,12 +384,10 @@ class ZonePage extends GenericPage
|
||||
if (!$tpl)
|
||||
continue;
|
||||
|
||||
$n = Util::localizedString($tpl, 'name');
|
||||
|
||||
$addToSOM('areatrigger', array(
|
||||
'coords' => [[$spawn['posX'], $spawn['posY']]],
|
||||
'level' => $spawn['floor'],
|
||||
'name' => $tpl['name'] ?: 'Unnamed AT #'.$spawn['typeId'],
|
||||
'name' => Util::localizedString($tpl, 'name', true, true),
|
||||
'type' => TYPE_AREATRIGGER,
|
||||
'id' => $spawn['typeId'],
|
||||
'description' => 'Type: '.Lang::areatrigger('types', $tpl['type'])
|
||||
|
||||
Reference in New Issue
Block a user