Skip to content

Commit b177f6c

Browse files
committed
update readme
1 parent b293137 commit b177f6c

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

Entities/SimplifiedSpinner.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ private static void OnLoadLevel(On.Celeste.Level.orig_LoadLevel orig, Level self
114114
}
115115

116116
private static void OnLevelAddEntity(On.Monocle.EntityList.orig_UpdateLists orig, EntityList self) {
117-
/* if (self.Scene is Level) {
117+
if (self.Scene is Level) {
118118
AddingEntities |= self.ToAdd.Count > 0;
119-
}*/
119+
}
120120
orig(self);
121121
}
122122

@@ -276,7 +276,7 @@ private static void UpdateComponentVisiblity(this Entity self) {
276276
* So DustGraphic.Render will be called even if DustGraphic itself is invisible
277277
*
278278
* So we need to make DustGraphic and DustEdge invisible, instead of just DustGraphic
279-
* We should not make Dust itself invivible, otherwise Dust.Render and thus our compensation will not be called
279+
* We should not make Dust itself invivible
280280
*/
281281

282282
private static void PatchDebugRender(On.Monocle.Entity.orig_DebugRender orig, Entity self, Camera camera) {

Module/TASHelperSettings.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -447,11 +447,11 @@ public bool SettingsHotkeysPressed() {
447447
bool updateKey = true;
448448
bool updateButton = true;
449449
bool InOuiModOption = TASHelperMenu.mainItem?.Container?.Focused is bool b && b;
450-
if (InOuiModOption || level.Tracker.GetEntity<KeyboardConfigUI>() is not null ||
451-
(level.Tracker.Entities.TryGetValue(typeof(ModuleSettingsKeyboardConfigUIExt), out var list) && list.Count > 0)) {
450+
if (InOuiModOption || (level.Tracker.Entities.TryGetValue(typeof(KeyboardConfigUI), out var list) && list.Count > 0) ||
451+
(level.Tracker.Entities.TryGetValue(typeof(ModuleSettingsKeyboardConfigUIExt), out var list2) && list2.Count > 0)) {
452452
updateKey = false;
453453
}
454-
if (InOuiModOption || level.Tracker.GetEntity<ButtonConfigUI>() is not null) {
454+
if (InOuiModOption || (level.Tracker.Entities.TryGetValue(typeof(ButtonConfigUI), out var list3) && list3.Count > 0)) {
455455
updateButton = false;
456456
}
457457
foreach (Hotkey hotkey in Hotkeys) {

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,6 @@ A Celeste Mod designed to be a tool in TAS making.
4646

4747
- VivHelper spinner isn't fully supported if its hitbox is not prestored -> maybe will add support for them.
4848

49-
- Laggy when there are too many spinners (e.g. Strawberry Jam GrandMaster HeartSide) -> Partially solved in v1.4.7
49+
- Laggy when there are too many spinners (e.g. Strawberry Jam GrandMaster HeartSide) -> Partially solved in v1.4.7
50+
51+
- Hotkeys can't work after several savestates -> Where does this bug come from???

0 commit comments

Comments
 (0)