mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Radiation from contaminated objects no longer produces power in rad collectors (#18471)
* someone fucking broke tails again thanks guys * Radiation from contamination no longer produces power * oops teehee
This commit is contained in:
@@ -700,8 +700,8 @@
|
||||
*
|
||||
* Default behaviour is to send COMSIG_ATOM_RAD_ACT and return
|
||||
*/
|
||||
/atom/proc/rad_act(strength)
|
||||
SEND_SIGNAL(src, COMSIG_ATOM_RAD_ACT, strength)
|
||||
/atom/proc/rad_act(strength, collectable_radiation)
|
||||
SEND_SIGNAL(src, COMSIG_ATOM_RAD_ACT, strength, collectable_radiation)
|
||||
|
||||
/**
|
||||
* Respond to narsie eating our atom
|
||||
@@ -842,19 +842,19 @@
|
||||
|
||||
var/new_x = pixel_x
|
||||
var/new_y = pixel_y
|
||||
|
||||
|
||||
if (dir & NORTH)
|
||||
new_y++
|
||||
|
||||
|
||||
if (dir & EAST)
|
||||
new_x++
|
||||
|
||||
|
||||
if (dir & SOUTH)
|
||||
new_y--
|
||||
|
||||
|
||||
if (dir & WEST)
|
||||
new_x--
|
||||
|
||||
|
||||
pixel_x = clamp(new_x, -16, 16)
|
||||
pixel_y = clamp(new_y, -16, 16)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user