This repository was archived by the owner on Jul 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,8 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ 1.1.4] - 2023-05-13
99
10+ - add dll version log message on awake
1011- fix travel through rotated multidim blocks
1112- update console enable/disable debug command
13+ - update readme with setup steps
1214
1315## [ 1.1.3] - 2023-04-16
1416
Original file line number Diff line number Diff line change 33 <Name value =" Quantum Elevators" />
44 <Description value =" Add infinite distance, vertical-warp elevator panels." />
55 <Author value =" Jonathan Robertson (Kanaverum)" />
6+ <!-- REMINDER: this mod's DLL version will be logged on GameAwake and should reflect the same version listed here! -->
7+ <!-- If troubleshooting an issue, search "Quantum Elevators DLL" in logs to confirm these two values match. -->
68 <Version value =" 1.1.4" />
79 <Website value =" https://github.com/jonathan-robertson/quantum-elevators" />
810 </ModInfo >
Original file line number Diff line number Diff line change @@ -22,9 +22,23 @@ public void InitMod(Mod _modInstance)
2222 harmony . PatchAll ( Assembly . GetExecutingAssembly ( ) ) ;
2323 _log . Info ( "loaded" ) ;
2424
25+ ModEvents . GameAwake . RegisterHandler ( OnGameAwake ) ;
2526 ModEvents . GameStartDone . RegisterHandler ( OnGameStartDone ) ;
2627 }
2728
29+ private const string DLL_VERSION = "1.1.4" ; // TODO: always update this before each release
30+ private void OnGameAwake ( )
31+ {
32+ try
33+ {
34+ _log . Info ( $ "Quantum Elevators DLL Version: { DLL_VERSION } ") ;
35+ }
36+ catch ( Exception e )
37+ {
38+ _log . Error ( "OnGameAwake" , e ) ;
39+ }
40+ }
41+
2842 private void OnGameStartDone ( )
2943 {
3044 try
You can’t perform that action at this time.
0 commit comments