mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-30 16:48:12 +01:00
removes all var/ in procs (#12738)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//Hijacking this file for BS12 playernotes functions. I like this ^ one systemm alright, but converting sounds too bothersome~ Chinsky.
|
||||
/proc/notes_add(var/key, var/note, var/mob/user)
|
||||
/proc/notes_add(key, note, mob/user)
|
||||
if (!key || !note)
|
||||
return
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
del(note_list) // savefile, so NOT qdel
|
||||
|
||||
|
||||
/proc/notes_del(var/key, var/index)
|
||||
/proc/notes_del(key, index)
|
||||
var/savefile/info = new("data/player_saves/[copytext(key, 1, 2)]/[key]/info.sav")
|
||||
var/list/infos
|
||||
info >> infos
|
||||
@@ -67,7 +67,7 @@
|
||||
admin_action_message(usr.key, key, "deleted note on", "\[Note gone\]", 0) //VOREStation Add
|
||||
qdel(info)
|
||||
|
||||
/proc/show_player_info_irc(var/key as text)
|
||||
/proc/show_player_info_irc(key as text)
|
||||
var/dat = " Info on [key]\n"
|
||||
var/savefile/info = new("data/player_saves/[copytext(key, 1, 2)]/[key]/info.sav")
|
||||
var/list/infos
|
||||
|
||||
Reference in New Issue
Block a user