mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-08 13:46:09 +00:00
Fixed an artefact bug
+Fixed a bug that prevented the destruction of a village, if it had 0 population with no artefacts inside +Some clean-up
This commit is contained in:
+2
-10
@@ -7230,16 +7230,8 @@ References: User ID/Message ID, Mode
|
||||
for ( $i = 19; $i <= 38; $i ++ ) {
|
||||
if ( $AttackerFields[ 'f' . $i . 't' ] == 27 ) {
|
||||
$attTresuaryLevel = $AttackerFields[ 'f' . $i ];
|
||||
if ( $attTresuaryLevel >= 10 ) {
|
||||
$villageartifact = true;
|
||||
} else {
|
||||
$villageartifact = false;
|
||||
}
|
||||
if ( $attTresuaryLevel >= 20 ) {
|
||||
$accountartifact = true;
|
||||
} else {
|
||||
$accountartifact = false;
|
||||
}
|
||||
$villageartifact = $attTresuaryLevel >= 10;
|
||||
$accountartifact = $attTresuaryLevel >= 20;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user