Skip to content

Commit

Permalink
advanceInternal is now called with the ship's timeflow as a multiplier
Browse files Browse the repository at this point in the history
  • Loading branch information
scardwell15 committed Aug 7, 2023
1 parent 91ec4a8 commit 75146ff
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion combatactivators.version
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
{
"major":1,
"minor":1,
"patch":0
"patch":1
}
}
Binary file modified jars/CombatActivators.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion mod_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Combat Activators",
"author": "President Matt Damon",
"utility": "true",
"version": { "major":"1", "minor": "1", "patch": "0" },
"version": { "major":"1", "minor": "1", "patch": "1" },
"description": "Abilities that can be activated during combat.",
"gameVersion": "0.96a",
"jars":["jars/CombatActivators.jar"],
Expand Down
2 changes: 1 addition & 1 deletion src/activators/ActivatorManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ object ActivatorManager {
for (ship in ships) {
getActivators(ship)?.forEach {
if (!Global.getCombatEngine().isPaused) {
it.advanceInternal(amount)
it.advanceInternal(amount * ship.mutableStats.timeMult.modifiedValue)
}

it.advanceEveryFrame()
Expand Down

0 comments on commit 75146ff

Please sign in to comment.