mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-06 08:38:30 +09:00
update the ghost sparingly
This commit is contained in:
@@ -67,6 +67,8 @@ open class FixtureItemBase(originalID: ItemID, val fixtureClassName: String) : G
|
||||
}
|
||||
|
||||
|
||||
// update the ghost sparingly
|
||||
if (INGAME.WORLD_UPDATE_TIMER % 2 == 0) {
|
||||
(INGAME as TerrarumIngame).blockMarkingActor.let {
|
||||
val item = ghostItem.get()
|
||||
|
||||
@@ -84,6 +86,7 @@ open class FixtureItemBase(originalID: ItemID, val fixtureClassName: String) : G
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun effectOnUnequip(actor: ActorWithBody, delta: Float) {
|
||||
// ghostInit = false
|
||||
|
||||
Reference in New Issue
Block a user