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 68ce53ae17)
2024-02-18 23:02:29 +01:00
Leon Friedrich 8f70116b2f
Freeze eventbus dictionaries (#22628)
* Freeze event bus

* Cleanup

(cherry picked from commit 347655fac1)
2024-01-26 21:50:22 +01:00
Nemanja f4264f6a9c
Automatic holiday sprites (#22929)
(cherry picked from commit 00813171c1)
2024-01-22 18:36:53 +01: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