Deprecated DateTimeGlobal.IsHalloween
This commit is contained in:
committed by
Matthias Mailänder
parent
b394e15998
commit
806eebd269
@@ -32,6 +32,7 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
}
|
||||
|
||||
[Desc("True on the 31st of October.")]
|
||||
[Obsolete("Use CurrentMonth and CurrentDay instead.")]
|
||||
public bool IsHalloween => DateTime.Today.Month == 10 && DateTime.Today.Day == 31;
|
||||
|
||||
[Desc("Get the current game time (in ticks).")]
|
||||
|
||||
Reference in New Issue
Block a user