bro this starts looking good
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 10s
Create tag and build when new code gets to main / Export (push) Successful in 1m26s

This commit is contained in:
2026-01-31 21:21:51 +01:00
parent c82c768ca8
commit 69e5bea39c
2 changed files with 9 additions and 16 deletions

View File

@@ -38,9 +38,9 @@ func compute_score(other_guests: Array[MaskedChara]) -> float:
var trait_strength = 0.0
for stimuli in guest_trait.stimulis:
var strength = stimuli
if stimuli == guest_mouth_mask.stimuli:
if guest_mouth_mask != null and stimuli == guest_mouth_mask.stimuli:
strength *= guest_mouth_mask.stimuli_multiplier
if stimuli == face_mask.stimuli:
if face_mask != null and stimuli == face_mask.stimuli:
strength *= face_mask.stimuli_multiplier
trait_strength += strength