CitiesSkylinesMultiplayer / CSM

Source code for the Cities: Skylines Multiplayer mod (CSM)

Home Page:https://citiesskylinesmultiplayer.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Useless if statement

Bluenix2 opened this issue · comments

Summary

With my recent commit 23c1494 I changed the way the build -Update flag worked. So you no longer specified the Steam location, but rather the game location.
Something I missed in my commit was removing this if statement:

CSM/scripts/build.ps1

Lines 109 to 115 in 034b0a7

# Try with lowercase SteamApps (linux)
if (!(Test-Path -Path $AssemblyDirectory))
{
$AssemblyDirectory = $GameDirectory.TrimEnd($Sep) + "$($Sep)Cities_Data$($Sep)Managed$($Sep)"
}
}

I would like to assign @tomtehtom to this. Additionally what can be done would be update the wiki for my commit change.

Come to think of it, the log/print could also be changed so that it reminds the user that the path may be completely different if the game is installed on... say like another disk.