Skip to content

Commit

Permalink
Version: 1.3.12
Browse files Browse the repository at this point in the history
  Bugfixes:
    - Fix crash on sandbox
  • Loading branch information
Relik77 committed Apr 3, 2018
1 parent 5dc3321 commit 9f00a27
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 1.3.12
Date: 03. 04. 2018
Bugfixes:
- Fix crash on sandbox
---------------------------------------------------------------------------------------------------
Version: 1.3.11
Date: 28. 03. 2018
Bugfixes:
Expand Down
4 changes: 3 additions & 1 deletion control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,9 @@ local function OnGuiClick(event)

if name == "computer_gauntlet_btn" then
if not global.computerGuis[player.index] then
computer.new(player.character):openGui("console", player)
if player.character then
computer.new(player.character):openGui("console", player)
end
else
global.computerGuis[player.index]:destroy()
global.computerGuis[player.index] = nil
Expand Down
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "computer_core",
"version": "1.3.11",
"version": "1.3.12",
"title": "Computer Core",
"author": "Relik",
"contact": "",
Expand Down

0 comments on commit 9f00a27

Please sign in to comment.