Commit Graph

7 Commits

Author SHA1 Message Date
Pieter-Jan Briers 68ce53ae17
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>
2024-02-13 16:48:39 -05:00
Leon Friedrich 347655fac1
Freeze eventbus dictionaries (#22628)
* Freeze event bus

* Cleanup
2024-01-06 20:24:42 +11:00
Nemanja 00813171c1
Automatic holiday sprites (#22929) 2023-12-24 23:52:43 -07:00
wrexbe bc68ac96dd
Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
mirrorcult ec4d4688c7
Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Vera Aguilera Puerto accb83b344 Raise HolidaysRefreshedEvent when holidays are disabled. 2021-09-29 12:57:37 +02:00
Vera Aguilera Puerto 77c93a5648 Turns HolidayManager into an entity system, HolidaySystem. 2021-09-29 12:56:10 +02:00