Commit Graph

7 Commits

Author SHA1 Message Date
Pieter-Jan Briers ccea85136b
Random spontaneous cleanup PR (#25131)
* Use new Subs.CVar helper

Removes manual config OnValueChanged calls, removes need to remember to manually unsubscribe.

This both reduces boilerplate and fixes many issues where subscriptions weren't removed on entity system shutdown.

* Fix a bunch of warnings

* More warning fixes

* Use new DateTime serializer to get rid of ISerializationHooks in changelog code.

* Get rid of some more ISerializationHooks for enums

* And a little more

* Apply suggestions from code review

Co-authored-by: 0x6273 <0x40@keemail.me>

---------

Co-authored-by: 0x6273 <0x40@keemail.me>
(cherry picked from commit 68ce53ae17985876d6d112b764b2144964a9f42e)
2024-02-18 23:02:29 +01:00
DrSmugleaf 9cc8a7fc81 Remove 700 usages of Component.Owner (#21100) 2023-10-20 15:31:13 +02:00
DrSmugleaf a88e747a0b
Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
Nemanja 4c2b521c90
Water gun cargo crate (#16172) 2023-05-07 13:14:54 +10:00
Leon Friedrich 554ec85069
Add SpawnAndDirtyAllEntities test (#13629) 2023-01-24 11:33:49 +11:00
metalgearsloth 3400af11cd
Add sprite fades for occluding sprites (#13267) 2023-01-05 16:45:23 +11:00
metalgearsloth a29d8b9fa2
Carp wave spawner and dragons as an actual event (#10254) 2022-08-08 10:18:14 +10:00