Switched subthought and severity in function arg

develop
Putnam3145 2014-11-12 13:55:38 -08:00
parent 4ccd4a96be
commit 9f6a04db7f
1 changed files with 1 additions and 1 deletions

@ -2,7 +2,7 @@
local utils=require('utils')
local function addEmotionToUnit(emotions,thought,emotion,subthought,severity)
local function addEmotionToUnit(emotions,thought,emotion,severity,subthought)
if not (type(emotion)=='number') then emotion=df.emotion_type[emotion] end
if not (type(thought)=='number') then thought=df.unit_thought_type[thought] end
emotions:insert('#',{new=df.unit_personality.T_emotions,