Merge pull request #4515 from Citadel-Station-13/upstream-merge-33306

[MIRROR] Replaces CLEAN_ON_MOVE_1 flag with cleaning component
This commit is contained in:
LetterJay
2017-12-24 17:00:06 -06:00
committed by GitHub
6 changed files with 48 additions and 36 deletions
@@ -1029,9 +1029,9 @@
status_flags &= ~CANPUSH
if(module.clean_on_move)
flags_1 |= CLEAN_ON_MOVE_1
AddComponent(/datum/component/cleaning)
else
flags_1 &= ~CLEAN_ON_MOVE_1
qdel(GetComponent(/datum/component/cleaning))
hat_offset = module.hat_offset