fixed printing/removing order

This commit is contained in:
GlOwl
2020-01-05 22:41:19 +01:00
committed by GitHub
parent fda01a6486
commit 0944a56cc2

View File

@@ -254,9 +254,10 @@ void Stations::deselect(int num) {
void Stations::remove(int num) { void Stations::remove(int num) {
if (!check(num)) return; if (!check(num)) return;
internal_remove(num);
prnt(ST_REMOVED_STATION); prnt(ST_REMOVED_STATION);
prntln(num); prntln(num);
internal_remove(num);
changed = true; changed = true;
} }