record-daemon: fix obs recording
This commit is contained in:
@@ -41,7 +41,7 @@ impl EventMapper {
|
||||
}
|
||||
|
||||
/// Map a game event to video and game timestamps.
|
||||
pub fn map_event(&self, event: &GameEvent) -> Option<(Duration, Option<Duration>)> {
|
||||
pub fn map_event(&self, _event: &GameEvent) -> Option<(Duration, Option<Duration>)> {
|
||||
let start_time = self.start_time?;
|
||||
let now = Utc::now();
|
||||
|
||||
|
||||
@@ -152,7 +152,7 @@ fn event_type_name(event: &GameEvent) -> String {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::lqp::{KillEvent, ObjectiveEvent, ObjectiveType};
|
||||
use crate::lqp::KillEvent;
|
||||
|
||||
#[test]
|
||||
fn test_timeline_creation() {
|
||||
|
||||
Reference in New Issue
Block a user