Skip to content

Commit

Permalink
fix(turrets): removes leftover to_chat
Browse files Browse the repository at this point in the history
  • Loading branch information
Filatelele authored Mar 24, 2024
1 parent cab116d commit 8ee45f2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions code/game/machinery/turret/_turrets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ GLOBAL_LIST_EMPTY(all_turrets)

// State machine processing steps, called by looping timer
/obj/machinery/turret/proc/process_turning()
to_chat(world, "TURNING! Currently raising:[currently_raising]")
if(!enabled || inoperable())
state_machine.evaluate()
return
Expand All @@ -282,7 +281,6 @@ GLOBAL_LIST_EMPTY(all_turrets)
state_machine.evaluate()

/obj/machinery/turret/proc/process_shooting()
to_chat(world, "SHOOTING! Currently raising:[currently_raising]")
if(operable())
if(installed_gun && is_valid_target(target?.resolve()))
var/atom/resolved_target = target.resolve()
Expand All @@ -298,7 +296,6 @@ GLOBAL_LIST_EMPTY(all_turrets)
installed_gun?.Fire(resolved_target, src)

/obj/machinery/turret/proc/process_reloading()
to_chat(world, "RELOADING! Currently raising:[currently_raising]")
if(istype(installed_gun, /obj/item/gun/projectile))
var/obj/item/gun/projectile/proj_gun = installed_gun

Expand Down

0 comments on commit 8ee45f2

Please sign in to comment.