Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
attack_ai and theoretical fix (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
Helg2 authored Dec 17, 2023
1 parent 3272ac7 commit 9725960
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modular_RUtgmc/code/game/objects/machinery/miner.dm
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,14 @@
var/marker_icon = "miner_[mineral_value >= PLATINUM_CRATE_SELL_AMOUNT ? "platinum" : "phoron"]_on"
SSminimaps.add_marker(src, MINIMAP_FLAG_ALL, image('modular_RUtgmc/icons/UI_icons/map_blips.dmi', null, marker_icon))
miner_status = MINER_RUNNING
camera.toggle_cam(null, FALSE)
if(!camera.status)
camera.toggle_cam(null, FALSE)
update_icon()

/obj/machinery/miner/Destroy()
qdel(camera)
camera = null
return ..()

/obj/machinery/miner/attack_ai(mob/user)
return attack_hand(user)

0 comments on commit 9725960

Please sign in to comment.