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();
|
||||
AddPlayerPostProc(hum);
|
||||
NotifyUiUpdate();
|
||||
frame_event.AddEnterGame(hum->GetWeakPtrRef());
|
||||
GameLog::Instance()->GameStart(hum);
|
||||
}
|
||||
|
||||
@ -431,6 +432,7 @@ void Room::CreateAndroid(int robot_num)
|
||||
hum->FindLocation();
|
||||
hum->RefreshView();
|
||||
}
|
||||
frame_event.AddEnterGame(hum->GetWeakPtrRef());
|
||||
}
|
||||
NotifyUiUpdate();
|
||||
}
|
||||
@ -1905,6 +1907,7 @@ void Room::RandRemoveAndroid()
|
||||
for (auto& pair : human_hash_) {
|
||||
pair.second->RemovePartObjects(hum);
|
||||
}
|
||||
frame_event.AddExitGame(hum->GetWeakPtrRef());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user