Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sardelka9515 committed Jul 12, 2022
1 parent 20b326d commit 1e1259d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RageCoop.Server/Server.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class Server
/// The API for controlling server and hooking events.
/// </summary>
public API API { get; private set; }
internal BaseScript BaseScript { get; set; }=new BaseScript();
internal readonly BaseScript BaseScript;
internal readonly ServerSettings Settings;
internal NetServer MainNetServer;
internal ServerEntities Entities;
Expand Down Expand Up @@ -76,6 +76,7 @@ public Server(ServerSettings settings,Logger logger=null)
Resources=new Resources(this);
Security=new Security(Logger);
Entities=new ServerEntities(this);
BaseScript=new BaseScript(this);
}
/// <summary>
/// Spawn threads and start the server
Expand Down

0 comments on commit 1e1259d

Please sign in to comment.