Editor usable without console, HiddenSubPosition divisible with grid size

This commit is contained in:
Regalis
2016-02-02 19:04:15 +02:00
parent 14ee39e59a
commit 89406896ca
7 changed files with 208 additions and 61 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ namespace Barotrauma
return false;
}
public void Flash(Color? color = null)
public virtual void Flash(Color? color = null)
{
flashTimer = FlashDuration;
flashColor = (color == null) ? Color.Red * 0.8f : (Color)color;