Descriptive Problem Summary:
Adding and removing /images from a screen object's overlays/underlays does not update the client's screen. Instead, the screen will remained unchanged until some other object updates the screen.
Numbered Steps to Reproduce Problem:
Create screen object.
Add /image overlay.
There are three commands in this demo.
flicker() adds and removes a screen object every other tick. It updates the client's screen correctly.
img() adds and removes an /image overlay from a screen object already in the client's screen. Nothing is shown until something else updates the screen.
state() changes a screen object's icon_state every other tick. It updates the client's screen correctly.
The player's HUD should update immediately.
The object in the player's HUD will remain unchanged until something else updates the screen/
Use either of the two methods I described.
This bug may be related to this bug report,
Jun 4 2011, 8:36 am