refactoring
This commit is contained in:
@@ -61,7 +61,7 @@ public class Chunk {
|
||||
}
|
||||
|
||||
public void SetElementActive(Element e, bool active) {
|
||||
if (e.GetType() == typeof(Element) && active) return;
|
||||
if (e.GetType() == typeof(Element)) return;
|
||||
|
||||
if (active) AddToChunk(e);
|
||||
else RemoveFromChunk(e);
|
||||
|
||||
Reference in New Issue
Block a user