mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
More runtime errors
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1156 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -625,6 +625,9 @@ var/showadminmessages = 1
|
||||
|
||||
if (href_list["adminplayeropts"])
|
||||
var/mob/M = locate(href_list["adminplayeropts"])
|
||||
if(!M)
|
||||
usr << "You seem to be selecting a mob that doesn't exist."
|
||||
return
|
||||
var/dat = "<html><head><title>Options for [M.key]</title></head>"
|
||||
var/foo = "\[ "
|
||||
if (ismob(M) && M.client)
|
||||
|
||||
@@ -900,6 +900,9 @@
|
||||
if (src.head)
|
||||
for(var/i=1, i<=src.head.allowed.len, i++)
|
||||
// world << "[src.head.allowed[i]] and [W.type]"
|
||||
if(!W)
|
||||
src << "The code is under the impression that the item you're trying to stick in your hat doesn't exist."
|
||||
return
|
||||
if (findtext("[W.type]","[src.head.allowed[i]]") || istype(W, /obj/item/weapon/pen))
|
||||
confirm = 1
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user