Skip to content

Commit bbed25d

Browse files
authored
Update README.md
1 parent e659d90 commit bbed25d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ A very simple ui system for basic dialogs in Onset
55
```lua
66
local Dialog = ImportPackage("dialogui")
77

8-
local test = Dialog.create("New Character", "Choose your character information")
9-
Dialog.setButtons(test, "Create", "Cancel")
8+
local test = Dialog.create("New Character", "Choose your character information", "Create", "Cancel")
109
Dialog.addTextInput(test, 1, "First Name")
1110
Dialog.addTextInput(test, 1, "Last Name")
1211
Dialog.addSelect(test, 1, "Gender", 1, "Male", "Female", "Apache Helicopter")

0 commit comments

Comments
 (0)