This commit is contained in:
Pedro
2024-09-22 20:00:57 -03:00
committed by GitHub
parent 2fb0a1884a
commit 80d2d78a9a
@@ -78,7 +78,7 @@
M.mind.special_role = SPECIAL_ROLE_TOURIST
// Rolls a 20% probability, checks if 3 tourists have been made into tot and check if there's space for a new tot!
// If any is false, we don't make a new tourist tot
if(prob(chance) && tot_number < 3 && antag_count < max_antag && (SPECIAL_ROLE_TRAITOR in M.client.prefs.be_special) && !jobban_isbanned(M, SPECIAL_ROLE_TRAITOR))
if(prob(chance) && tot_number < 3 && antag_count < max_antag && (ROLE_TRAITOR in M.client.prefs.be_special) && !jobban_isbanned(M, ROLE_TRAITOR))
if(player_old_enough_antag(M.client, ROLE_TRAITOR))
tot_number++
M.mind.add_antag_datum(/datum/antagonist/traitor)