diff --git a/Applications.txt b/Applications.txt index 0ae19365..cf293d5d 100644 --- a/Applications.txt +++ b/Applications.txt @@ -532,7 +532,7 @@ type="Application", icon="IgorTimofeev/OpenComputers/master/Applications/GeoScan2/Icon.pic", createShortcut="desktop", - version=1.04, + version=1.05, resources={ { name="Earth.pic", diff --git a/Applications/GeoScan2/GeoScan2.lua b/Applications/GeoScan2/GeoScan2.lua index fb22814a..aba54f18 100644 --- a/Applications/GeoScan2/GeoScan2.lua +++ b/Applications/GeoScan2/GeoScan2.lua @@ -8,7 +8,13 @@ local MineOSCore = require("MineOSCore") -------------------------------------------------------------------------------------------------------------------- -if not component.isAvailable("geolyzer") or not component.isAvailable("hologram") then GUI.error("This program requires a geolyzer and hologram projector to work!"); return end +if not component.isAvailable("geolyzer") then + GUI.error("This program requires a geolyzer to work!"); return +end + +if not component.isAvailable("hologram") then + GUI.error("This program requires a hologram projector to work!"); return +end component.gpu.setResolution(component.gpu.maxResolution()) buffer.start()