Gamemodes bugfix:

- heads, security officers, wardens and detectives cannot be cultists or revs again.
- chaplain cannot be cultist.
- players with unfilled preferences wouldn't huddle together in same departments.
- fixed bug in get_players_for_role caused to players jobbanned from syndicate get special roles.
Fixed major bug with reagents not adding when same reagent is already present in container.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1802 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
rastaf.zero@gmail.com
2011-07-08 16:35:36 +00:00
parent 4d3a5b3dc5
commit 3008281e3c
9 changed files with 69 additions and 102 deletions

View File

@@ -276,7 +276,7 @@ datum
my_atom.on_reagent_change()
// mix dem viruses
if(R.data["viruses"] || data["viruses"])
if(R.data && R.data["viruses"] || data &&data["viruses"])
var/list/this = R.data["viruses"]
var/list/that = data["viruses"]
this += that // combine the two