Skip to content

Commit fd48cef

Browse files
committed
Change isPersistent to persistent
Requested by Cruor, to be consistent with Celeste's naming scheme
1 parent 5e7b8ff commit fd48cef

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Ahorn/lang/en_gb.lang

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ placements.triggers.SpringCollab2020/SmoothCameraOffsetTrigger.tooltips.position
2828
placements.triggers.SpringCollab2020/SmoothCameraOffsetTrigger.tooltips.onlyOnce=If checked, the trigger will be disabled when the player first leaves it.
2929

3030
# Remove Light Sources Trigger
31-
placements.triggers.SpringCollab2020/RemoveLightSourcesTrigger.tooltips.isPersistent=If checked, all light sources will stay disabled even after leaving the trigger.
31+
placements.triggers.SpringCollab2020/RemoveLightSourcesTrigger.tooltips.persistent=If checked, all light sources will stay disabled even after leaving the trigger.
3232

3333
# Dash Spring
3434
placements.entities.SpringCollab2020/dashSpring.tooltips.playerCanUse=Determines whether the player is able to interact with the spring.

Ahorn/triggers/removeLightSourcesTrigger.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
using ..Ahorn, Maple
44

5-
@mapdef Trigger "SpringCollab2020/RemoveLightSourcesTrigger" RemoveLightSourcesTrigger(x::Integer, y::Integer, width::Integer=Maple.defaultTriggerWidth, height::Integer=Maple.defaultTriggerHeight, isPersistent::Bool=true)
5+
@mapdef Trigger "SpringCollab2020/RemoveLightSourcesTrigger" RemoveLightSourcesTrigger(x::Integer, y::Integer, width::Integer=Maple.defaultTriggerWidth, height::Integer=Maple.defaultTriggerHeight, persistent::Bool=true)
66

77
const placements = Ahorn.PlacementDict(
88
"Remove Light Sources (Spring Collab 2020)" => Ahorn.EntityPlacement(

Triggers/RemoveLightSourcesTrigger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace Celeste.Mod.SpringCollab2020.Triggers {
88
[Tracked]
99
class RemoveLightSourcesTrigger : Trigger {
1010
public RemoveLightSourcesTrigger(EntityData data, Vector2 offset) : base(data, offset) {
11-
IsPersistent = data.Bool("isPersistent", true);
11+
IsPersistent = data.Bool("persistent", true);
1212
level = SceneAs<Level>();
1313
}
1414

0 commit comments

Comments
 (0)