mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 17:45:02 +01:00
[NO GBP] Fixes sswardrobe not deleting modsuit parts after failing to stash them (#93901)
## About The Pull Request Should fix https://github.com/tgstation/tgstation/issues/93897 This implements a restock blacklist for SSwardrobe. If an item type is in the blacklist, then SSwardrobe will never try to restock that item, instead just deleting them. ## Why It's Good For The Game Fixes ever-expanding pile of modsuits in nullspace, and lets modsuits actually be wardrobed properly ## Changelog 🆑 fix: fixes an where modsuits would accumulate in nullspace over the course of a round /🆑
This commit is contained in:
@@ -126,7 +126,6 @@
|
||||
part.set_armor(armor_type)
|
||||
part.resistance_flags = resistance_flags
|
||||
part.flags_1 |= atom_flags //flags like initialization or admin spawning are here, so we cant set, have to add
|
||||
part.item_flags |= DO_NOT_WARDROBE
|
||||
part.heat_protection = NONE
|
||||
part.cold_protection = NONE
|
||||
part.max_heat_protection_temperature = max_heat_protection_temperature
|
||||
|
||||
Reference in New Issue
Block a user