We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f0080ac + ac1eb0a commit 619d5b3Copy full SHA for 619d5b3
1 file changed
add-thought.lua
@@ -15,7 +15,7 @@ local utils=require('utils')
15
function addEmotionToUnit(unit,thought,emotion,severity,strength,subthought)
16
local emotions=unit.status.current_soul.personality.emotions
17
if not (tonumber(emotion)) then
18
- emotion=df.emotion_type[tonumber(emotion)]
+ emotion=df.emotion_type[emotion]
19
end
20
local properThought=nil
21
if not (tonumber(thought)) then
0 commit comments