Skip to content
Browse files

Wonder Bug Fix

  • Loading branch information...
1 parent 325ccfd commit e04123f909fa299aaa5810adbf6c29aa999f7eb1 Shadow-Dragon committed May 7, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/game/include/wonder.html.php
  2. +1 −1 src/game/templates/de_DE/uga/wonder.tmpl
View
4 src/game/include/wonder.html.php
@@ -126,9 +126,9 @@ function wonder_getWonderContent($caveID, &$details) {
if (isset($wonders[$wonderCategory->id])) {
$tmpWonders[$wonderCategory->sortID] = array(
'name' => $wonderCategory->name,
- 'items' => $units[$wonderCategory->id]['items']
+ 'items' => $wonders[$wonderCategory->id]['items']
);
- unset($units[$wonderCategory->id]);
+ unset($wonders[$wonderCategory->id]);
}
if (isset($wondersUnqualified[$wonderCategory->id])) {
View
2 src/game/templates/de_DE/uga/wonder.tmpl
@@ -76,7 +76,7 @@
</tbody>
</table>
{% else %}
- <div class="space text-center">Zur Zeit kannst du leider von dieser Kategorie noch keine Einheiten bauen.</div>
+ <div class="space text-center">Zur Zeit kannst du leider von dieser Kategorie noch keine Wunder erbitten.</div>
{% endif %}
{% set bgID = 0 %}
</div>

0 comments on commit e04123f

Please sign in to comment.
Something went wrong with that request. Please try again.