Maintenance - We're currently working on things and you might experience some issues. Should be wrapped up soon!

This post has been de-listed (Author was flagged for spam)

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Need help with the Programmable block surface display
Post Flair (click to view more posts with a particular flair)
Post Body

I'm having an issue with the programmable block's screens which are only updated if I log out and in of the game.

So steps to reproduce are

  1. Run program
  2. Screen does not update
  3. Log out
  4. Log in
  5. Screen updates

Code:

public void Main()
{
  IMyTextSurface mesurface0=Me.GetSurface(0);
  mesurface0.ContentType = ContentType.TEXT_AND_IMAGE;
  mesurface0.WriteText("Bleh");

  IMyTextSurface mesurface1 = Me.GetSurface(1);
  mesurface1.ContentType = ContentType.TEXT_AND_IMAGE;
  mesurface1.WriteText("Keyboard");
}

Is there anything you guys can see where I'm goofing up here or should I send a bug report?

Author
Account Strength
0%
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
3,864
Link Karma
969
Comment Karma
2,895
Profile updated: 6 months ago
Posts updated: 7 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago