mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 08:18:49 -07:00
bugfix for "Fixed Math Blaster's mutt textures."
This commit is contained in:
parent
2203bae81f
commit
a45323b447
@ -633,7 +633,7 @@ public class ContentController : Controller {
|
||||
return Ok(false);
|
||||
}
|
||||
|
||||
if (petData.Texture.StartsWith("RS_SHARED/Larva.unity3d/LarvaTex") && petData.GrowthState.GrowthStateID>4) {
|
||||
if (petData.Texture != null && petData.Texture.StartsWith("RS_SHARED/Larva.unity3d/LarvaTex") && petData.GrowthState.GrowthStateID>4) {
|
||||
petData.Texture = "RS_SHARED/" + petData.PetTypeID switch {
|
||||
5 => "EyeClops.unity3d/EyeClopsBrainRedTex", // EyeClops
|
||||
6 => "RodeoLizard.unity3d/BlueLizardTex", // RodeoLizard
|
||||
|
Loading…
x
Reference in New Issue
Block a user