summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/construction.rs2
-rw-r--r--src/modules/mining.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/construction.rs b/src/modules/construction.rs
index 6c27db5..0f7f8f2 100644
--- a/src/modules/construction.rs
+++ b/src/modules/construction.rs
@@ -69,7 +69,7 @@ impl Construction {
self.status = ConstructionStatus::None;
}
- pub fn taken(&mut self) {
+ pub fn constructed(&mut self) {
self.off()
}
}
diff --git a/src/modules/mining.rs b/src/modules/mining.rs
index 120ba8c..a6cea92 100644
--- a/src/modules/mining.rs
+++ b/src/modules/mining.rs
@@ -68,7 +68,7 @@ impl Mining {
self.status = MiningStatus::None;
}
- pub fn taken(&mut self) {
+ pub fn mined(&mut self) {
self.status = MiningStatus::Mining;
}
}