mirror of
https://github.com/Novetus/Novetus_src.git
synced 2025-01-31 17:53:01 +02:00
1.2 Snapshot (7445.19279.1)
This commit is contained in:
parent
e2645b5d19
commit
0785aecac6
@ -918,8 +918,7 @@ public class LauncherFuncs
|
|||||||
string result = "";
|
string result = "";
|
||||||
if (GlobalVars.GraphicsMode == 1)
|
if (GlobalVars.GraphicsMode == 1)
|
||||||
{
|
{
|
||||||
result += "pcall(function() settings().Rendering.graphicsMode = 2 end);"
|
result += "xpcall( function() settings().Rendering.graphicsMode = 2 end, function( err ) settings().Rendering.graphicsMode = 4 end );";
|
||||||
+ " pcall(function() if settings().Rendering.graphicsMode ~= 2 then settings().Rendering.graphicsMode = 4 end end);";
|
|
||||||
}
|
}
|
||||||
else if(GlobalVars.GraphicsMode == 2)
|
else if(GlobalVars.GraphicsMode == 2)
|
||||||
{
|
{
|
||||||
|
@ -1415,8 +1415,8 @@ namespace NovetusLauncher
|
|||||||
{
|
{
|
||||||
LauncherFuncs.ReloadLoadtextValue();
|
LauncherFuncs.ReloadLoadtextValue();
|
||||||
string luafile = "rbxasset://scripts\\\\CSView.lua";
|
string luafile = "rbxasset://scripts\\\\CSView.lua";
|
||||||
string mapfile = GlobalVars.ConfigDirData + "\\preview\\content\\fonts\\3DView.rbxl";
|
string mapfile = GlobalVars.BasePathLauncher + "\\preview\\content\\fonts\\3DView.rbxl";
|
||||||
string rbxexe = GlobalVars.ConfigDirData + "\\preview\\3DView.exe";
|
string rbxexe = GlobalVars.BasePathLauncher + "\\preview\\3DView.exe";
|
||||||
string quote = "\"";
|
string quote = "\"";
|
||||||
string args = quote + mapfile + "\" -script \"" + LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); _G.CS3DView(0,'Player'," + GlobalVars.loadtext + ");" + quote;
|
string args = quote + mapfile + "\" -script \"" + LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); _G.CS3DView(0,'Player'," + GlobalVars.loadtext + ");" + quote;
|
||||||
try
|
try
|
||||||
|
Loading…
Reference in New Issue
Block a user