fix: spies fixed via armando1980

This commit is contained in:
Martin Ambrus
2017-08-28 13:03:19 +02:00
parent ef3aecf81e
commit ed0b8031aa
2 changed files with 9 additions and 0 deletions
+2
View File
@@ -20,3 +20,5 @@ GameEngine/Notes/*
# Install instalation_done marker left by install script
install/installation_done
/.buildpath
/.project
+7
View File
@@ -168,6 +168,13 @@ class Battle {
$walllevel=$post['walllevel'];
$wall = $walllevel;
$palast = $post['palast'];
if($scout ==1 && $defscout==0) {
$walllevel = 0;
$wall = 0;
$palast = 0;
}
if($scout ==1) {
$palast = 0; //no def point palace n residence when scout
}