Skip to content

Commit

Permalink
Fixed rotation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
McTwist committed May 6, 2019
1 parent 70d6487 commit f8365f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// ================
// Name :: FireRelayNum
// Version :: 8
// Version :: 9
// ================
// Made by :: McTwist
// Date :: 18-01-24
// Date :: 19-05-06
// Info :: Event that choose what onRelay to use
// License :: Free to use
// ================
Expand Down Expand Up @@ -240,7 +240,7 @@ function serverCmdAddEvent(%client, %enabled, %inputEvent, %delay, %target, %nam

// Get size
%datablock = %brick.getDatablock();
%rot = getWord(%obj.rotation, 3) % 180;
%rot = getWord(%brick.rotation, 3) % 180;
if (%rot $= 90)
{
%sizex = %datablock.brickSizeY * 0.5;
Expand Down

0 comments on commit f8365f4

Please sign in to comment.