Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ BoxCollider:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_IsTrigger: 1
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 3
Expand Down
3 changes: 2 additions & 1 deletion Assets/Gothic-Core/Scripts/Services/World/SaveGameService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ public void LoadSavedGame(SlotId saveGameId, SaveGame save)
public void ChangeWorld(string worldName)
{
// G2 has for example: AddonWorld\NewWorld.zen --> NewWorld.zen
CurrentWorldName = Path.GetFileName(worldName);
// Linux doesn't see \ as a directory separator, Windows sees both \ and /
CurrentWorldName = Path.GetFileName(worldName.Replace("\\","/"));

// 1. World was already loaded.
if (_worlds.ContainsKey(CurrentWorldName))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class G2ContextService : IContextGameVersionService

public GameVersion Version => GameVersion.Gothic2;
string IContextGameVersionService.RootPath => _configService.Root.Gothic2Path;
public string CutsceneFileSuffix => "CSL";
public string CutsceneFileSuffix => "LSC";

// FIXME - Load from GothicGame.ini
public string InitialWorld => "newworld.zen";
Expand Down