mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
Fixes various runtimes (squashed)
- Fixes runtime in pod lock busters - Fixes possessed object examination runtime - Fixes runtime when following a destroyed mob - Fixes to_chat runtimes from involuntary emotes - Fixes runtimes from invalid clothing IDs - Fixes runtime caused by wirecutting non-humans - Fixes runtime when setting up malf AI antaghuds - Fixes runtimes in sensory destruction reagents - Fixes runtime caused by clientless ghosts - Fixes antag hud runtime in autotraitor generation - Fixes welding tool shutoff runtime - Fixes runtime in laptops' welcome program - Fixes to_chat runtime from mech sound effect - Fixes runtimes in camera-using NanoUIs - Fixes to_chat runtimes in resisting held mobs - Fixes headless mob skeletonizing/husking runtimes - Fixes non-mob add_logs runtime
This commit is contained in:
@@ -1219,15 +1219,15 @@ var/global/list/special_role_times = list( //minimum age (in days) for accounts
|
||||
|
||||
// Don't wear another species' underwear!
|
||||
var/datum/sprite_accessory/S = underwear_list[underwear]
|
||||
if(!(species in S.species_allowed))
|
||||
if(!S || !(species in S.species_allowed))
|
||||
underwear = random_underwear(gender, species)
|
||||
|
||||
S = undershirt_list[undershirt]
|
||||
if(!(species in S.species_allowed))
|
||||
if(!S || !(species in S.species_allowed))
|
||||
undershirt = random_undershirt(gender, species)
|
||||
|
||||
S = socks_list[socks]
|
||||
if(!(species in S.species_allowed))
|
||||
if(!S || !(species in S.species_allowed))
|
||||
socks = random_socks(gender, species)
|
||||
|
||||
//reset hair colour and skin colour
|
||||
|
||||
Reference in New Issue
Block a user