mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-21 15:42:35 +00:00
Removes an inworld (#3973)
This commit is contained in:
@@ -112,11 +112,15 @@ var/global/list/additional_antag_types = list()
|
|||||||
message_admins("Admin [key_name_admin(usr)] added [antag.role_text] template to game mode.")
|
message_admins("Admin [key_name_admin(usr)] added [antag.role_text] template to game mode.")
|
||||||
|
|
||||||
// I am very sure there's a better way to do this, but I'm not sure what it might be. ~Z
|
// I am very sure there's a better way to do this, but I'm not sure what it might be. ~Z
|
||||||
spawn(1)
|
// yes there is. but let me first immortalize this code.
|
||||||
|
/* spawn(1)
|
||||||
for(var/datum/admins/admin in world)
|
for(var/datum/admins/admin in world)
|
||||||
if(usr.client == admin.owner)
|
if(usr.client == admin.owner)
|
||||||
admin.show_game_mode(usr)
|
admin.show_game_mode(usr)
|
||||||
return
|
return */
|
||||||
|
|
||||||
|
if (usr.client && usr.client.holder)
|
||||||
|
usr.client.holder.show_game_mode(usr)
|
||||||
|
|
||||||
/datum/game_mode/proc/announce() //to be called when round starts
|
/datum/game_mode/proc/announce() //to be called when round starts
|
||||||
world << "<B>The current game mode is [capitalize(name)]!</B>"
|
world << "<B>The current game mode is [capitalize(name)]!</B>"
|
||||||
|
|||||||
Reference in New Issue
Block a user