aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/script_time.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/fparkan-runtime/src/script_time.rs')
-rw-r--r--crates/fparkan-runtime/src/script_time.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/crates/fparkan-runtime/src/script_time.rs b/crates/fparkan-runtime/src/script_time.rs
index 55e3f3d1..86ba44b9 100644
--- a/crates/fparkan-runtime/src/script_time.rs
+++ b/crates/fparkan-runtime/src/script_time.rs
@@ -35,11 +35,6 @@ pub(super) fn result(
}
}
-// shortcut: approximate the native AI scheduler's logical seconds by mission elapsed seconds.
-pub(super) fn elapsed_seconds(start_ms: u32, now_ms: u32) -> u32 {
- now_ms.wrapping_sub(start_ms) / 1_000
-}
-
#[cfg(test)]
mod tests {
use super::*;