Closed fireartist closed 11 years ago
Current code: if ($body->empire_id > 1) { wreck_planet($body); } elsif ($body->get_type eq 'space station') {
}
This will only skip SS belonging to AI empires. If the intention is to skip all SS, that check should come first.
if ($body->get_type eq 'space station') { #skip it } elsif ($body->empire_id > 1) { wreck_planet($body); }
Apologies for not providing a pull request for this - I don't currently have a local server set up to test changes.
I have 'patched' the code on us1 so that this works. I am not going to do a code update in GIT until the storm is passed and then it will only be for 'archive' purposes.
Current code: if ($body->empire_id > 1) { wreck_planet($body); } elsif ($body->get_type eq 'space station') {
skip it
This will only skip SS belonging to AI empires. If the intention is to skip all SS, that check should come first.
Apologies for not providing a pull request for this - I don't currently have a local server set up to test changes.