Skip to content

Commit

Permalink
fix: ui bug where additive button is not reset (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
uweeby committed Jul 28, 2020
1 parent eb5380c commit 5effce9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ void OnGUI()
if (GUILayout.Button("Switch to Room1"))
{
sceneManager.ChangeServerScene("Room1");
additiveLoaded = false;
}

if (GUILayout.Button("Switch to Room2"))
{
sceneManager.ChangeServerScene("Room2");
additiveLoaded = false;
}

if(additiveLoaded)
Expand Down

0 comments on commit 5effce9

Please sign in to comment.