Skip to content

Commit

Permalink
deploy push fix
Browse files Browse the repository at this point in the history
  • Loading branch information
realforest2001 committed May 19, 2024
1 parent 3d1bd8c commit 853d947
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions code/game/machinery/sentry_holder.dm
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,12 @@
deployed_turret.forceMove(loc)
icon_state = "[base_icon_state]_deployed"

for(var/mob/M in deployed_turret.loc)
if(deployed_turret.loc == src.loc)
step(M, deployed_turret.dir)
else
step(M, get_dir(src,deployed_turret))
if(deployed_turret.density)
for(var/mob/M in deployed_turret.loc)
if(deployed_turret.loc == src.loc)
step(M, deployed_turret.dir)
else
step(M, get_dir(src,deployed_turret))

deployed_turret.setDir(dir)
deployed_turret.pixel_x = 0
Expand Down Expand Up @@ -134,7 +135,6 @@
/obj/structure/machinery/sentry_holder/almayer/mini/aicore/proc/auto_deploy()
if(deployed_turret.loc == src) //not deployed
if(stat & NOPOWER)
//to_chat(user, SPAN_WARNING("[src] is non-functional."))
return FALSE

deploy_sentry()
Expand Down

0 comments on commit 853d947

Please sign in to comment.