isaacscript-common 1.0.339 → 1.0.340
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -342,14 +342,14 @@ function ____exports.setBlindfold(self, player, enabled)
|
|
|
342
342
|
local character = player:GetPlayerType()
|
|
343
343
|
local challenge = Isaac.GetChallenge()
|
|
344
344
|
if enabled then
|
|
345
|
-
game.Challenge = Challenge.
|
|
345
|
+
game.Challenge = Challenge.CHALLENGE_SOLAR_SYSTEM
|
|
346
346
|
player:ChangePlayerType(character)
|
|
347
347
|
game.Challenge = challenge
|
|
348
|
-
player:TryRemoveNullCostume(NullItemID.ID_BLINDFOLD)
|
|
349
348
|
else
|
|
350
|
-
game.Challenge = Challenge.
|
|
349
|
+
game.Challenge = Challenge.CHALLENGE_NULL
|
|
351
350
|
player:ChangePlayerType(character)
|
|
352
351
|
game.Challenge = challenge
|
|
352
|
+
player:TryRemoveNullCostume(NullItemID.ID_BLINDFOLD)
|
|
353
353
|
end
|
|
354
354
|
end
|
|
355
355
|
return ____exports
|