Fixes new record bug. (#5685)

This commit is contained in:
Neerti
2018-10-20 03:35:44 -04:00
committed by VirgoBot
parent f654dd646e
commit e019d0c8ef
3 changed files with 4 additions and 0 deletions
+3
View File
@@ -262,6 +262,9 @@
var/icon/charicon = cached_character_icon(H)
front = icon(charicon, dir = SOUTH)
side = icon(charicon, dir = WEST)
else // Sending null things through browse_rsc() makes a runtime and breaks the console trying to view the record.
front = icon('html/images/no_image32.png')
side = icon('html/images/no_image32.png')
if(!id)
id = text("[]", add_zero(num2hex(rand(1, 65536)), 4))
+1
View File
@@ -331,6 +331,7 @@
'html/images/sglogo.png',
'html/images/talisman.png',
'html/images/paper_bg.png',
'html/images/no_image32.png',
'icons/pda_icons/pda_atmos.png',
'icons/pda_icons/pda_back.png',
'icons/pda_icons/pda_bell.png',
Binary file not shown.

After

Width:  |  Height:  |  Size: 257 B