mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
FINISHED ALL NON-PREF ERRORS (#27)
* code\game\machinery\cryopod.dm:482:error: orient_right: undefined var * code\modules\mob\mob_movement.dm:272:error: mob.last_move_intent: undefined var * code\modules\mob\living\simple_animal\simple_animal.dm:377&402:error: user.changeNext_move: undefined proc * code\modules\mob\living\silicon\robot\robot_items.dm:31:error: loaded_item.reliability: undefined var * fixes whatever to do with chameleon.dm * camera.dm * didn't get chameloeon the first time round * uplink.dm * code\game\objects\items\devices\PDA\PDA.dm:959:error: U.last_target_click: undefined var * code\modules\clothing\head\misc_special.dm:159:error: icon_head: undefined var
This commit is contained in:
@@ -956,7 +956,6 @@ var/global/list/obj/item/device/pda/PDAs = list()
|
||||
/obj/item/device/pda/proc/create_message(var/mob/living/U = usr, var/obj/item/device/pda/P, var/tap = 1)
|
||||
if(tap)
|
||||
U.visible_message("<span class='notice'>\The [U] taps on \his PDA's screen.</span>")
|
||||
U.last_target_click = world.time
|
||||
var/t = input(U, "Please enter message", P.name, null) as text|null
|
||||
t = sanitize(t)
|
||||
//t = readd_quotes(t)
|
||||
|
||||
@@ -258,8 +258,24 @@ A list of items and costs is stored under the datum of every game mode, alongsid
|
||||
establish_db_connection(dbcon)
|
||||
|
||||
if (dbcon.IsConnected())
|
||||
nanoui_data["contracts"] = list()
|
||||
|
||||
if (!nanoui_data["contracts_current_page"])
|
||||
nanoui_data["contracts_current_page"] = 1
|
||||
|
||||
if (!nanoui_data["contracts_view"])
|
||||
nanoui_data["contracts_view"] = 1
|
||||
|
||||
var/query_details[0]
|
||||
query_details[":contract_id"] = text2num(id)
|
||||
|
||||
switch (nanoui_data["contracts_view"])
|
||||
if (1)
|
||||
query_details[":status"] = "open"
|
||||
if (2)
|
||||
query_details[":status"] = "closed"
|
||||
else
|
||||
nanoui_data["contracts_view"] = 1
|
||||
query_details[":status"] = "open"
|
||||
|
||||
var/DBQuery/select_query = dbcon.NewQuery("SELECT contract_id, contractee_name, status, title, description, reward_other FROM ss13_syndie_contracts WHERE contract_id = :contract_id")
|
||||
select_query.Execute(query_details)
|
||||
|
||||
Reference in New Issue
Block a user