Skip to content

Commit

Permalink
fix deathlibnk bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dankmeme01 committed Jul 16, 2024
1 parent dd1d928 commit 5074a9f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions server/game/src/data/types/room.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pub struct RoomSettingsFlags {
pub public_invites: bool,
pub collision: bool,
pub two_player: bool,
pub deathlink: bool,
}

#[derive(Clone, Copy, Default, Encodable, Decodable, StaticSize, DynamicSize, Debug)]
Expand Down
1 change: 0 additions & 1 deletion src/ui/menu/room/room_settings_popup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ void RoomSettingsPopup::onSettingClicked(cocos2d::CCObject* sender) {
});
} else {
// otherwise, actually update the settings
log::debug("settings: {}", currentSettings.flags.isHidden, currentSettings.flags.publicInvites, currentSettings.flags.collision, currentSettings.flags.twoPlayerMode);
NetworkManager::get().send(UpdateRoomSettingsPacket::create(currentSettings));
}
}
Expand Down

0 comments on commit 5074a9f

Please sign in to comment.