Track LocalMods as part of monolith
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
Hook.Add("roundStart", "make level dark", function()
|
||||
AttemptLevel()
|
||||
end)
|
||||
function AttemptLevel()
|
||||
Timer.Wait(function()
|
||||
if (Level.Loaded != nil) then
|
||||
print("Level.Loaded.LevelData.GenerationParams.AmbientLightColor = Color(0,0,0,0)")
|
||||
Level.Loaded.LevelData.GenerationParams.AmbientLightColor = Color(0,0,0,0)
|
||||
elseif (not tostring(Game.GameSession.GameMode) == "Barotrauma.TestGameMode") then
|
||||
print("LevelDarkness AttemptLevel")
|
||||
AttemptLevel()
|
||||
end
|
||||
end, 35)
|
||||
end
|
||||
Reference in New Issue
Block a user