Gender Enum Refactor

This commit is contained in:
AconiteX
2021-06-27 01:46:50 -04:00
parent dd853fc370
commit aae953a7e1
42 changed files with 118 additions and 154 deletions
@@ -67,8 +67,7 @@ public class trooper extends script.base_script
{
if (rand(1, 10) == 1)
{
int yourGender = getGender(breacher);
if (yourGender == GENDER_MALE)
if (getGender(breacher) == Gender.MALE)
{
chat.chat(self, new string_id(CONVO_FILE, "trooper_greeting_m"));
}