From bd00aac72fd4d25ee307fabb0c3c8559bb880824 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sun, 3 Dec 2023 06:37:40 +0100 Subject: [PATCH] [MIRROR] Fixes needless DM_VERSION check in Poly code [MDB IGNORE] (#25300) * Fixes needless DM_VERSION check in Poly code (#79951) ## About The Pull Request This is useless now that #79134 (1d6533c5258a208ea4df90d17c20d925db671f1f) is merged and we require 515 for everything now. ## Why It's Good For The Game They forgot ## Changelog No effect to players. * Fixes needless DM_VERSION check in Poly code --------- Co-authored-by: san7890 Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com> --- code/modules/mob/living/basic/pets/parrot/poly.dm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/code/modules/mob/living/basic/pets/parrot/poly.dm b/code/modules/mob/living/basic/pets/parrot/poly.dm index 42c3061bdd6..f139a43d988 100644 --- a/code/modules/mob/living/basic/pets/parrot/poly.dm +++ b/code/modules/mob/living/basic/pets/parrot/poly.dm @@ -180,14 +180,7 @@ file_data["longestsurvival"] = longest_survival file_data["longestdeathstreak"] = longest_deathstreak - var/formatted_data -#if DM_VERSION >= 515 - formatted_data = json_encode(file_data, JSON_PRETTY_PRINT) -#else - formatted_data = json_encode(file_data) -#endif - - rustg_file_write(formatted_data, file_path) + rustg_file_write(json_encode(file_data, JSON_PRETTY_PRINT), file_path) memory_saved = TRUE return TRUE