Fixes 6 pAI faces

PAIs are no longer coded to only recognize 9 emotions. This enables the use of the neutral, silly, nose, smirk, exclamation points, and question mark faces as a pAI. Before, those buttons did nothing.
This commit is contained in:
PrismaticGynoid
2018-07-24 21:04:17 -07:00
parent 5ef98ad0a9
commit cf6ae83965
@@ -126,6 +126,6 @@ var/global/list/default_pai_software = list()
else if(href_list["image"])
var/img = text2num(href_list["image"])
if(1 <= img && img <= 9)
if(1 <= img && img <= (pai_emotions.len))
card.setEmotion(img)
return 1