mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
Fixes Runtime in randomverbs.dm,134: list index out of bounds
This commit is contained in:
@@ -131,7 +131,7 @@
|
|||||||
return
|
return
|
||||||
|
|
||||||
var/msg = input("Message:", text("Enter the text you wish to appear to your target:")) as text
|
var/msg = input("Message:", text("Enter the text you wish to appear to your target:")) as text
|
||||||
if(!(msg[1] == "<" && msg[length(msg)] == ">")) //You can use HTML but only if the whole thing is HTML. Tries to prevent admin 'accidents'.
|
if(msg && !(msg[1] == "<" && msg[length(msg)] == ">")) //You can use HTML but only if the whole thing is HTML. Tries to prevent admin 'accidents'.
|
||||||
msg = sanitize(msg)
|
msg = sanitize(msg)
|
||||||
|
|
||||||
if( !msg )
|
if( !msg )
|
||||||
|
|||||||
Reference in New Issue
Block a user