mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-22 20:56:33 +01:00
Merge pull request #6733 from VOREStation/pol-aitweaks
Readd some AI features and improve AI buildmode
This commit is contained in:
@@ -320,6 +320,14 @@
|
||||
if(inactivity > duration) return inactivity
|
||||
return 0
|
||||
|
||||
//Called when the client performs a drag-and-drop operation.
|
||||
/client/MouseDrop(start_object,end_object,start_location,end_location,start_control,end_control,params)
|
||||
if(buildmode && start_control == "mapwindow.map" && start_control == end_control)
|
||||
build_drag(src,buildmode,start_object,end_object,start_location,end_location,start_control,end_control,params)
|
||||
else
|
||||
. = ..()
|
||||
|
||||
|
||||
// Byond seemingly calls stat, each tick.
|
||||
// Calling things each tick can get expensive real quick.
|
||||
// So we slow this down a little.
|
||||
|
||||
Reference in New Issue
Block a user