Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions code/__DEFINES/subsystems.dm
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@
}\
}\
A.flags_1 &= ~OVERLAY_QUEUED_1;\
if(isturf(A)){SSdemo.mark_turf(A);}\
if(isobj(A) || ismob(A)){SSdemo.mark_dirty(A);}\
} while (FALSE)


Expand Down
15 changes: 0 additions & 15 deletions code/__HELPERS/mobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -538,21 +538,6 @@ GLOBAL_LIST_EMPTY(species_list)
to_chat(M, rendered_message, avoid_highlighting = speaker_key == M.key)
else
to_chat(M, message, avoid_highlighting = speaker_key == M.key)

var/demo_message = message

if(follow_target)
var/F
if(turf_target)
F = FOLLOW_OR_TURF_LINK(SSdemo, follow_target, turf_target)
else
F = FOLLOW_LINK(SSdemo, follow_target)
demo_message = "[F] [message]"
else if(turf_target)
var/turf_link = TURF_LINK(SSdemo, turf_target)
demo_message = "[turf_link] [message]"

to_chat(SSdemo, demo_message)

//Used in chemical_mob_spawn. Generates a random mob based on a given gold_core_spawnable value.
/proc/create_random_mob(spawn_location, mob_class = HOSTILE_SPAWN)
Expand Down
1 change: 0 additions & 1 deletion code/_compile_options.dm
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
#endif

#define EXTOOLS (world.system_type == MS_WINDOWS ? "byond-extools.dll" : "libbyond-extools.so")
#define DEMO_WRITER (world.system_type == MS_WINDOWS ? "demo-writer.dll" : "libdemo-writer.so")

//If you update these values, update the message in the #error
#define MAX_BYOND_MAJOR 514
Expand Down
2 changes: 0 additions & 2 deletions code/_onclick/hud/credits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@ GLOBAL_LIST(end_titles)
for(var/client/C in GLOB.clients)
if(C.prefs.show_credits)
C.screen += new /atom/movable/screen/credit/title_card(null, null, SSticker.mode.title_icon)
SSdemo.flush()
sleep(CREDIT_SPAWN_SPEED * 3)
for(var/i in 1 to GLOB.end_titles.len)
var/C = GLOB.end_titles[i]
if(!C)
continue

create_credit(C)
SSdemo.flush()
sleep(CREDIT_SPAWN_SPEED)


Expand Down
6 changes: 6 additions & 0 deletions code/_onclick/item_attack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
var/resolved = target.attackby(src, user, params)
if(!resolved && target && !QDELETED(src))
afterattack(target, user, 1, params) // 1: clicking something Adjacent
SSdemo.mark_dirty(src)
if(isturf(target))
SSdemo.mark_turf(target)
else
SSdemo.mark_dirty(target)

//Checks if the item can work as a tool, calling the appropriate tool behavior on the target
/obj/item/proc/tool_attack_chain(mob/user, atom/target)
Expand All @@ -22,6 +27,7 @@
if(SEND_SIGNAL(src, COMSIG_ITEM_ATTACK_SELF, user) & COMPONENT_NO_INTERACT)
return
interact(user)
SSdemo.mark_dirty(src)

/obj/item/proc/pre_attack(atom/A, mob/living/user, params) //do stuff before attackby!
if(SEND_SIGNAL(src, COMSIG_ITEM_PRE_ATTACK, A, user, params) & COMPONENT_NO_ATTACK)
Expand Down
Loading