0.1.1.4, small fixes for PRs.

This commit is contained in:
Ottermandias 2023-01-23 12:48:04 +01:00
parent 8940e813ec
commit 415e58b93e
9 changed files with 16 additions and 11 deletions

View file

@ -22,7 +22,9 @@ namespace Glamourer
if (variant.HasValue)
*(ushort*) (address + 4) = variant.Value;
if (stain.HasValue)
if (*(ushort*) address == 0)
*(address + 6) = 0;
else if (stain.HasValue)
*(address + 6) = (byte) stain.Value;
}