Update workshop.lua

This commit is contained in:
teverse 2018-09-15 00:23:08 +01:00 committed by GitHub
parent cf8d1d715c
commit f98604fd3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -7,8 +7,10 @@ menuBarTop.position = guiCoord(0, 0, 0, 0)
menuBarTop.parent = workshop.interface
local menuFile = menuBarTop:createItem("File")
local menuNew = menuFile:createItem("New")
local makeBlock = menuFile:createItem("New block")
local menuFileNew = menuFile:createItem("New")
local menuInsert = menuBarTop:createItem("Insert")
local makeBlock = menuInsert:createItem("New block")
-- Block creation function. Creates a new block and positions it relative to the user's camera.
makeBlock:mouseLeftPressed(function ()