Skip to content

Commit

Permalink
Merge branch 'master' of gh:dfhack/scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
lethosor committed Dec 11, 2016
2 parents f0080ac + ac1eb0a commit 619d5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion add-thought.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ local utils=require('utils')
function addEmotionToUnit(unit,thought,emotion,severity,strength,subthought)
local emotions=unit.status.current_soul.personality.emotions
if not (tonumber(emotion)) then
emotion=df.emotion_type[tonumber(emotion)]
emotion=df.emotion_type[emotion]
end
local properThought=nil
if not (tonumber(thought)) then
Expand Down

0 comments on commit 619d5b3

Please sign in to comment.