mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
Converts pills and patches into interact_with_atom (#88157)
## About The Pull Request Title. Code maintenance, code sanity and because overriding attack() like this is bad ## Changelog 🆑 code: Converted pills and patches into interact_with_atom /🆑
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
TEST_ASSERT_EQUAL(human.health, 100, "Human health did not set properly")
|
||||
patch.reagents.add_reagent(/datum/reagent/method_patch_test, 1)
|
||||
patch.self_delay = 0
|
||||
patch.attack(human, human)
|
||||
patch.interact_with_atom(human, human)
|
||||
TEST_ASSERT_EQUAL(human.health, 90, "Human health did not update after patch was applied")
|
||||
|
||||
// INJECT
|
||||
|
||||
Reference in New Issue
Block a user