Skip to content

Commit

Permalink
fix playtest pausing not showing the UI
Browse files Browse the repository at this point in the history
  • Loading branch information
HJfod committed May 25, 2024
1 parent 909c3ca commit 58be22c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## v6.4.2
* Fix accidentally using non-existant function
## v6.4.3
* Fix playtest pausing not showing the UI

## v6.4.2
* Fix accidentally using non-existant function

## v6.4.1
* Add option for disabling the View Tab
Expand Down
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"geode": "2.0.0-beta.26",
"version": "6.4.2",
"version": "6.4.3",
"gd": {
"win": "2.204",
"mac": "2.200",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/HandleUIHide.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class $modify(HideUI, EditorUI) {
$override
void showUI(bool show) {
if (m_editorLayer->m_playbackMode != PlaybackMode::Not) {
if (m_editorLayer->m_playbackMode == PlaybackMode::Playing) {
// Playtest no ui option
show = !GameManager::sharedState()->getGameVariable("0046");
}
Expand Down

0 comments on commit 58be22c

Please sign in to comment.