mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-30 20:13:53 +00:00
Merge pull request #4157 from Ccomp5950/cleanbot_fix
Bugfix: Actually implement cleanbot targeting.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
/obj/effect/decal/cleanable
|
||||
var/list/random_icon_states = list()
|
||||
var/targeted_by = null // Used so cleanbots can't claim a mess.
|
||||
|
||||
/obj/effect/decal/cleanable/New()
|
||||
if (random_icon_states && length(src.random_icon_states) > 0)
|
||||
src.icon_state = pick(src.random_icon_states)
|
||||
..()
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user