Code: Select all
if prisoners~=nil then
for name,dist in pairs( prisoners ) do
if name.SnitchTimer~=0 then
--Game.DebugOut("Prisoner is snitch");
if name.Category~= "DeathRow" then
Object.SetProperty(name,"Category",4);
end
end
end
end
A much improved version of the Snitch Sorter can be found here viewtopic.php?f=88&t=59499 as being a part of a bigger mod.
p.s. Sorry, can't post on Steam discussions, so I thought I'd put this feedback in here instead.