pardeike / Puppeteer

Puppeteer allows Twitch viewers to control colonists live!
https://puppeteer.rimworld.live
MIT License
6 stars 2 forks source link

Bypassing weapon restrictions #1

Closed scavmech closed 4 years ago

scavmech commented 4 years ago

Players using the map interface can equip weapons they shouldn't be able to (Biocoded, restricted by alien races)

erdelf commented 4 years ago

Can be fixed by checking via EquipmentUtlity.CanEquip which works for apparel as well as weapons. AlienRace postfixes that method so all should be well for race restricted stuff as well.