From 4aaa54c0561e8eb45aa462a16590851a74349541 Mon Sep 17 00:00:00 2001 From: Ben Lubar Date: Sun, 7 Mar 2021 14:59:30 -0600 Subject: [PATCH] dwarfvet: remove console spam when plugin is enabled but no hospitals exist --- plugins/dwarfvet.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/dwarfvet.cpp b/plugins/dwarfvet.cpp index 604a229a6..e178ffed3 100644 --- a/plugins/dwarfvet.cpp +++ b/plugins/dwarfvet.cpp @@ -524,9 +524,7 @@ void tickHandler(color_ostream& out, void* data) { } if (!count_of_hospitals && !hospitals_cached) { - // No hospitals found, delete any cache, and return - delete_animal_hospital_vector(out); - out.print("No hospitals found, plugin sleeping ...\n"); + // No hospitals found, cache is empty, just return goto cleanup; }