|
|
@@ -420,7 +420,7 @@ export class GameService implements OnModuleInit {
|
|
|
const formatedDatatime = this.formatDatetime(date, time)
|
|
|
|
|
|
if (newCharactor) {
|
|
|
- if (charactors.find((i) => i.danmuUserId === newCharactor.danmuUserId)) {
|
|
|
+ if (newCharactor.danmuUserId && charactors.find((i) => i.danmuUserId === newCharactor.danmuUserId)) {
|
|
|
newCharactor = null
|
|
|
} else {
|
|
|
newCharactor = new Charactor({
|