mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
add hud string method and code docs for modifiers
This commit is contained in:
1 parent
264defe8bf
commit
1f357b5e08
6 files changed
+129
-18
No files matched your search
@@ -14,7 +14,7 @@ public class FreezeModifier : TimedModifier
|
||||
|
||||
public override void OnActivate()
|
||||
{
|
||||
if (Player.AmOwner)
|
||||
if (Player?.AmOwner == true)
|
||||
{
|
||||
Player.moveable = false;
|
||||
}
|
||||
@@ -22,7 +22,7 @@ public class FreezeModifier : TimedModifier
|
||||
|
||||
public override void OnTimerComplete()
|
||||
{
|
||||
if (Player.AmOwner)
|
||||
if (Player?.AmOwner == true)
|
||||
{
|
||||
Player.moveable = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user