mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
[NO GBP] Fixes the "Drop Pod: Syndies" deathmatch modifier. (#82216)
## About The Pull Request I've had false memories of `pick_weight` working with assoc-value-less lists. ## Why It's Good For The Game This will fix an issue with deathmatch modifiers. ## Changelog 🆑 fix: Fixed the "Drop Pod: Syndies" deathmatch modifier. /🆑
This commit is contained in:
@@ -363,6 +363,8 @@
|
||||
|
||||
/datum/deathmatch_modifier/drop_pod/proc/populate_contents()
|
||||
contents = typesof(/mob/living/basic/trooper/syndicate)
|
||||
for(var/typepath in contents) //Make sure to set even weights for the keys or `pick_weight` won't work.
|
||||
contents[typepath] = 1
|
||||
|
||||
/datum/deathmatch_modifier/drop_pod/monsters
|
||||
name = "Drop Pod: Monsters"
|
||||
|
||||
Reference in New Issue
Block a user