Skip to content

Commit

Permalink
Pilot pods always spawn with a weak mining laser (goonstation#21323)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgmzeta authored Nov 14, 2024
1 parent 5cf0ce9 commit 50d8a5f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/modules/transport/pods/ships.dm
Original file line number Diff line number Diff line change
Expand Up @@ -127,17 +127,17 @@

////////armed civ putt

obj/machinery/vehicle/miniputt/pilot
/obj/machinery/vehicle/miniputt/pilot
New()
. = ..()
src.com_system.deactivate()
qdel(src.engine)
qdel(src.com_system)
src.components -= src.engine
src.components -= src.com_system
src.engine = new /obj/item/shipcomponent/engine/zero(src)
src.engine.ship = src
src.components += src.engine
src.engine = null
src.Install(new /obj/item/shipcomponent/engine/zero(src))
src.Install(new /obj/item/shipcomponent/mainweapon/bad_mining(src))
src.engine.activate()
src.com_system = null
myhud.update_systems()
Expand Down

0 comments on commit 50d8a5f

Please sign in to comment.