Started moving single player campaign logic to an abstract CampaignMode class to make it reusable in the eventual multiplayer campaign
This commit is contained in:
@@ -169,7 +169,7 @@ namespace Barotrauma
|
||||
#if CLIENT
|
||||
if (GameMain.GameSession != null)
|
||||
{
|
||||
SinglePlayerMode mode = GameMain.GameSession.gameMode as SinglePlayerMode;
|
||||
SinglePlayerCampaign mode = GameMain.GameSession.GameMode as SinglePlayerCampaign;
|
||||
if (mode != null)
|
||||
{
|
||||
Character.Controlled = spawnedCharacter;
|
||||
|
||||
Reference in New Issue
Block a user