isaacscript-common 13.3.1 → 13.3.2
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
|
|
3
|
-
isaacscript-common 13.3.
|
|
3
|
+
isaacscript-common 13.3.2
|
|
4
4
|
|
|
5
5
|
This is the "isaacscript-common" library, which was created with the IsaacScript tool.
|
|
6
6
|
|
|
@@ -19270,7 +19270,7 @@ function ModUpgraded.prototype.AddCallback(self, modCallback, ...)
|
|
|
19270
19270
|
callback(nil, ...)
|
|
19271
19271
|
local endTime = getTime(nil)
|
|
19272
19272
|
local elapsedTime = endTime - startTime
|
|
19273
|
-
if self.TimeThreshold == nil or self.TimeThreshold
|
|
19273
|
+
if self.TimeThreshold == nil or self.TimeThreshold <= elapsedTime then
|
|
19274
19274
|
Isaac.DebugString((signature .. " - END - time: ") .. tostring(elapsedTime))
|
|
19275
19275
|
else
|
|
19276
19276
|
Isaac.DebugString(signature .. " - END")
|
|
@@ -40,7 +40,7 @@ function ModUpgraded.prototype.AddCallback(self, modCallback, ...)
|
|
|
40
40
|
callback(nil, ...)
|
|
41
41
|
local endTime = getTime(nil)
|
|
42
42
|
local elapsedTime = endTime - startTime
|
|
43
|
-
if self.TimeThreshold == nil or self.TimeThreshold
|
|
43
|
+
if self.TimeThreshold == nil or self.TimeThreshold <= elapsedTime then
|
|
44
44
|
Isaac.DebugString((signature .. " - END - time: ") .. tostring(elapsedTime))
|
|
45
45
|
else
|
|
46
46
|
Isaac.DebugString(signature .. " - END")
|
package/package.json
CHANGED
|
@@ -75,7 +75,7 @@ export class ModUpgraded implements Mod {
|
|
|
75
75
|
const elapsedTime = endTime - startTime;
|
|
76
76
|
if (
|
|
77
77
|
this.TimeThreshold === undefined ||
|
|
78
|
-
this.TimeThreshold
|
|
78
|
+
this.TimeThreshold <= elapsedTime
|
|
79
79
|
) {
|
|
80
80
|
Isaac.DebugString(`${signature} - END - time: ${elapsedTime}`);
|
|
81
81
|
} else {
|