Fix suspicious_assignment warnings in Decoration

master
Nicolas Hake 2018-07-23 09:20:11 +02:00
parent e024bef54b
commit 808a90e5af
1 changed files with 3 additions and 2 deletions

View File

@ -20,10 +20,11 @@ public func SetToFront(bool is_in_front)
{ {
if (is_in_front) if (is_in_front)
{ {
return this.Plane = 510; this.Plane = 510;
} }
else else
{ {
return this.Plane = 110; this.Plane = 110;
} }
return this.Plane;
} }