1
This commit is contained in:
parent
3acef80048
commit
aa20516d4f
@ -318,6 +318,7 @@ void Room::AddPlayer(Player* hum, std::shared_ptr<BornPoint> init_born_point, bo
|
|||||||
hum->RefreshView();
|
hum->RefreshView();
|
||||||
AddPlayerPostProc(hum);
|
AddPlayerPostProc(hum);
|
||||||
NotifyUiUpdate();
|
NotifyUiUpdate();
|
||||||
|
frame_event.AddEnterGame(hum->GetWeakPtrRef());
|
||||||
GameLog::Instance()->GameStart(hum);
|
GameLog::Instance()->GameStart(hum);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -431,6 +432,7 @@ void Room::CreateAndroid(int robot_num)
|
|||||||
hum->FindLocation();
|
hum->FindLocation();
|
||||||
hum->RefreshView();
|
hum->RefreshView();
|
||||||
}
|
}
|
||||||
|
frame_event.AddEnterGame(hum->GetWeakPtrRef());
|
||||||
}
|
}
|
||||||
NotifyUiUpdate();
|
NotifyUiUpdate();
|
||||||
}
|
}
|
||||||
@ -1905,6 +1907,7 @@ void Room::RandRemoveAndroid()
|
|||||||
for (auto& pair : human_hash_) {
|
for (auto& pair : human_hash_) {
|
||||||
pair.second->RemovePartObjects(hum);
|
pair.second->RemovePartObjects(hum);
|
||||||
}
|
}
|
||||||
|
frame_event.AddExitGame(hum->GetWeakPtrRef());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user