Jofthomas commited on
Commit
d17b44c
·
1 Parent(s): dfed11c
patches/convex/aiTown/playerDescription.ts CHANGED
@@ -33,6 +33,7 @@ export class PlayerDescription {
33
  name,
34
  description,
35
  character,
 
36
  };
37
  }
38
  }
 
33
  name,
34
  description,
35
  character,
36
+ role
37
  };
38
  }
39
  }
patches/src/components/PlayerDetails.tsx CHANGED
@@ -229,7 +229,7 @@ export default function PlayerDetails({
229
  <div className="desc my-6">
230
  <p className="leading-tight -m-4 bg-brown-700 text-base sm:text-sm">
231
  {!isMe && playerDescription?.description}
232
- {isMe && <i>This si you ! You are a {player?.role}</i>}
233
  {!isMe && inConversationWithMe && (
234
  <>
235
  <br />
 
229
  <div className="desc my-6">
230
  <p className="leading-tight -m-4 bg-brown-700 text-base sm:text-sm">
231
  {!isMe && playerDescription?.description}
232
+ {isMe && <i>This si you ! You are a </i>}
233
  {!isMe && inConversationWithMe && (
234
  <>
235
  <br />