cleanup: Fixes bugs and cleans up code (#660)
This commit is contained in:
parent
1de0b656a9
commit
679e8100f4
99 changed files with 160 additions and 346 deletions
|
|
@ -23,7 +23,7 @@ namespace Server
|
|||
public static void Initialize()
|
||||
{
|
||||
var filePath = Path.Combine(Core.BaseDirectory, "Data/treasure.cfg");
|
||||
int i = 0, x = 0, y = 0;
|
||||
int i = 0;
|
||||
|
||||
if (File.Exists(filePath))
|
||||
{
|
||||
|
|
@ -38,8 +38,8 @@ namespace Server
|
|||
{
|
||||
var split = line.Split(' ');
|
||||
|
||||
x = Convert.ToInt32(split[0]);
|
||||
y = Convert.ToInt32(split[1]);
|
||||
var x = Convert.ToInt32(split[0]);
|
||||
var y = Convert.ToInt32(split[1]);
|
||||
|
||||
try
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue