Skip to content

Commit e431cd4

Browse files
fix serrun error
1 parent d3407e1 commit e431cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ScriptSystem/Structures/ScriptName.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static ScriptName InitUnchecked(string name)
2424

2525
public static TryGet<ScriptName> TryInit(string name)
2626
{
27-
if (FileSystem.FileSystem.DoesScriptExist(name))
27+
if (!FileSystem.FileSystem.DoesScriptExist(name))
2828
{
2929
return $"Script '{name}' does not exist in the SER folder or is inaccessible.";
3030
}

0 commit comments

Comments
 (0)