Remove debug code

This commit is contained in:
Condorra 2024-03-05 22:43:07 +11:00
parent 5c230f2667
commit ff1cb6157d

View File

@ -1,6 +1,5 @@
use async_trait::async_trait; use async_trait::async_trait;
use chrono::Utc; use chrono::Utc;
use log::info;
use crate::{ use crate::{
models::{ models::{
@ -29,7 +28,6 @@ impl TaskHandler for IdleparkTaskHandler {
if let Some(loc) = ctx.trans.find_item_by_type_code(loc_type, loc_code).await? { if let Some(loc) = ctx.trans.find_item_by_type_code(loc_type, loc_code).await? {
if !loc.flags.contains(&ItemFlag::PrivatePlace) { if !loc.flags.contains(&ItemFlag::PrivatePlace) {
let mut player_item = (*player_item).clone(); let mut player_item = (*player_item).clone();
info!("Broadcasting to {}.\n", &player_item.location);
broadcast_to_room(&ctx.trans, &player_item.location, None, broadcast_to_room(&ctx.trans, &player_item.location, None,
&format!( &format!(
"A sweeping robot whirs as it passes by, sweeping up the slumbering {} and carrying {} off to the homeless shelter.\n", "A sweeping robot whirs as it passes by, sweeping up the slumbering {} and carrying {} off to the homeless shelter.\n",