mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-08-08 17:57:02 +08:00
refactor: argument (#33)
* refactor(config): remove TOML config loading and replace is_client with host_game * feat(network): add net_error_message helper and use for error logging
This commit is contained in:
@@ -434,7 +434,8 @@ void DevPanel::show_world_tab_item() {
|
||||
if (ImGui::BeginTabItem("world")) {
|
||||
|
||||
if (ImGui::BeginTabBar("World Kind")) {
|
||||
if (!m_app.argument().is_client) {
|
||||
auto& param = m_world_scene.scene_manager().world_scene_param();
|
||||
if (param.host_game) {
|
||||
if (ImGui::BeginTabItem("ServerWorld")) {
|
||||
show_server_world_table_bar();
|
||||
ImGui::EndTabItem();
|
||||
|
||||
Reference in New Issue
Block a user