mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 07:13:58 -05:00
finer version numbers work correctly.
fix bug with level being reset. add {{ADMINS}} to message tokens modified offset threshold calculation
This commit is contained in:
@ -28,8 +28,10 @@ namespace IW4MAdmin.Application
|
||||
Console.OutputEncoding = Encoding.UTF8;
|
||||
Console.ForegroundColor = ConsoleColor.Gray;
|
||||
|
||||
Version = Assembly.GetExecutingAssembly().GetName().Version.Major + Assembly.GetExecutingAssembly().GetName().Version.Minor / 10.0f;
|
||||
Version = Math.Round(Version, 2);
|
||||
Version = Assembly.GetExecutingAssembly().GetName().Version.Major +
|
||||
Assembly.GetExecutingAssembly().GetName().Version.Minor / 10.0f +
|
||||
Assembly.GetExecutingAssembly().GetName().Version.Build / 100.0f;
|
||||
Version = Math.Round(Version, 3);
|
||||
|
||||
Console.WriteLine("=====================================================");
|
||||
Console.WriteLine(" IW4M ADMIN");
|
||||
|
Reference in New Issue
Block a user