Skip to content
Snippets Groups Projects
Commit 41521360 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Let there be color. Found and fixed odd math php edge case that affected the dynamic covers.

parent 8e1441d8
No related merge requests found
......@@ -175,7 +175,7 @@ class Generator
protected function createPattern($seed)
{
// Convert to binary
$bc = decbin((int)$seed%pow(2,32));
$bc = decbin($seed);
// If we have less that a half of a quarter
if(strlen($bc) < 8) {
// Rotate square of the first 4 into a 4x2
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment