mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-10-17 08:02:55 -04:00
Gender Enum Refactor
This commit is contained in:
@@ -145,12 +145,12 @@ public class spice extends script.base_script
|
||||
default:
|
||||
snd += "human_";
|
||||
}
|
||||
switch (getGender(player))
|
||||
if(getGender(player) == Gender.FEMALE)
|
||||
{
|
||||
case GENDER_FEMALE:
|
||||
snd += "female_eat.cef";
|
||||
break;
|
||||
default:
|
||||
}
|
||||
else
|
||||
{
|
||||
snd += "male_eat.cef";
|
||||
}
|
||||
playClientEffectLoc(player, snd, getLocation(player), getScale(player));
|
||||
|
||||
Reference in New Issue
Block a user