added response text to trait_id in getPlayerResults
This commit is contained in:
parent
7cd525f28b
commit
7acfe7977f
@ -101,7 +101,8 @@ class Game:
|
||||
results = {}
|
||||
try:
|
||||
for npc_id in responses:
|
||||
results[npc_id] = responses[npc_id] == str(self.reaction_table[npc_id])
|
||||
trait_id = getTraitIdFromString(responses[npc_id])
|
||||
results[npc_id] = trait_id == str(self.reaction_table[npc_id])
|
||||
return results
|
||||
except:
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user