add: you can't deploy to destroyed levels
add: levels now have bulletsGenerate update: levels have different factories
This commit is contained in:
@@ -11,6 +11,7 @@ public class DeployController : MonoBehaviour
|
||||
|
||||
public void Deploy(string sceneName) {
|
||||
LevelInfo level = GameController.i.GetLevel(sceneName);
|
||||
if (GameController.i.IsLevelDestroyed(sceneName)) return;
|
||||
SceneManager.LoadScene(level.sceneName);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user