Skip to content

Commit

Permalink
Cooldown
Browse files Browse the repository at this point in the history
  • Loading branch information
Bokkiewokkie committed Jul 6, 2024
1 parent 2b5ae73 commit 8c59699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nsv13/code/modules/overmap/ai-skynet.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1630,6 +1630,7 @@ Seek a ship thich we'll station ourselves around
var/decision_delay = 2 SECONDS
var/move_mode = 0
var/next_boarding_attempt = 0
var/mine_cooldown = 0

var/reloading_torpedoes = FALSE
var/reloading_missiles = FALSE
Expand Down Expand Up @@ -2090,7 +2091,6 @@ Seek a ship thich we'll station ourselves around
/obj/structure/overmap/proc/deploy_mine()
if(mines_left <= 0)
return //why are we here
var/static/mine_cooldown = 0
if(mine_cooldown > world.time) //Don't drop them all at once now
return
mine_cooldown = world.time + 6 SECONDS
Expand Down

0 comments on commit 8c59699

Please sign in to comment.