add on_hud_render event

This commit is contained in:
MihailRis
2024-07-12 09:17:53 +03:00
parent 247acb3687
commit 4aa76e35b7
4 changed files with 17 additions and 0 deletions
+2
View File
@@ -139,6 +139,8 @@ void CameraControl::switchCamera() {
if (static_cast<size_t>(index) != playerCameras.size()) {
index = (index + 1) % playerCameras.size();
player->currentCamera = playerCameras.at(index);
} else {
player->currentCamera = camera;
}
}