From 5edeb4fd419c640cb6119ba3f1ecb3a536a13d56 Mon Sep 17 00:00:00 2001 From: hecht Date: Thu, 14 Aug 2014 20:26:24 +0000 Subject: [PATCH] options und leere rasse ist weg bei alle attacken --- ag/info/attacken.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ag/info/attacken.php b/ag/info/attacken.php index c433425..f470803 100644 --- a/ag/info/attacken.php +++ b/ag/info/attacken.php @@ -67,11 +67,6 @@ function showAttDetails($at_id) {

Type   - - -

Options -   -

Info @@ -84,7 +79,7 @@ function showAttDetails($at_id) { for($runden = 0; $runden < count($rassen_1); $runden++) { $rasse = getRaceById($rassen_1[$runden]); - if($rasse['type'] == $npc_type['id']){ + if($rasse == null || $rasse['type'] == $npc_type['id']){ continue; } $rassen_name = $rasse['name'];