x
This commit is contained in:
+2
-2
@@ -172,8 +172,8 @@ func (f *Factory) Init(botplt, botid string) {
|
|||||||
f.demo = &CustomSender{
|
f.demo = &CustomSender{
|
||||||
f: f,
|
f: f,
|
||||||
}
|
}
|
||||||
if v, ok := Bots[[2]string{botplt, botid}]; ok {
|
if _, ok := Bots[[2]string{botplt, botid}]; ok {
|
||||||
go v.Destroy()
|
// go v.Destroy()
|
||||||
console.Warn("%s机器人%s因冲突销毁!", botplt, botid)
|
console.Warn("%s机器人%s因冲突销毁!", botplt, botid)
|
||||||
}
|
}
|
||||||
Bots[[2]string{botplt, botid}] = f
|
Bots[[2]string{botplt, botid}] = f
|
||||||
|
|||||||
Reference in New Issue
Block a user