From a9d201032e8a0fd2cb67baf6b16efd32164b956a Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sun, 11 Sep 2022 17:12:16 +0200 Subject: [PATCH] [MIRROR] Removes fishing minimum duration check [MDB IGNORE] (#16147) * Removes fishing minimum duration check (#69783) * Removes fishing minimum duration check Co-authored-by: AnturK --- code/modules/fishing/fishing_minigame.dm | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/code/modules/fishing/fishing_minigame.dm b/code/modules/fishing/fishing_minigame.dm index 04b52bb4564..b8901bbd882 100644 --- a/code/modules/fishing/fishing_minigame.dm +++ b/code/modules/fishing/fishing_minigame.dm @@ -4,8 +4,6 @@ #define BITING_PHASE 2 // UI minigame phase #define MINIGAME_PHASE 3 -// Shortest time the minigame can be won -#define MINIMUM_MINIGAME_DURATION 140 /datum/fishing_challenge /// When the ui minigame phase started @@ -114,13 +112,6 @@ UnregisterSignal(used_rod, COMSIG_ITEM_DROPPED) if(phase == MINIGAME_PHASE) used_rod.consume_bait() - if(win) - // validate timings to have at least basic abuse prevention, though it's kinda impossible task here - // 140 from minimum completion bar fill time - var/minimum_time = start_time + MINIMUM_MINIGAME_DURATION - if(world.time < minimum_time) - win = FALSE - stack_trace("Fishing minimum time check failed") if(win) if(reward_path != FISHING_DUD) playsound(lure, 'sound/effects/bigsplash.ogg', 100) @@ -212,4 +203,3 @@ #undef WAIT_PHASE #undef BITING_PHASE #undef MINIGAME_PHASE -#undef MINIMUM_MINIGAME_DURATION