Skip to content

Commit

Permalink
Небольшие поправки к билдмоду
Browse files Browse the repository at this point in the history
Перемещение callproc в другое место
  • Loading branch information
vasgen40k committed Jan 9, 2024
1 parent f8fbe3f commit 49ccb01
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion baystation12.dme
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,6 @@
#include "code\modules\admin\buildmode\areas.dm"
#include "code\modules\admin\buildmode\atmosphere.dm"
#include "code\modules\admin\buildmode\build.dm"
#include "code\modules\admin\buildmode\callproc.dm"
#include "code\modules\admin\buildmode\copypaste.dm"
#include "code\modules\admin\buildmode\edit.dm"
#include "code\modules\admin\buildmode\ladders.dm"
Expand Down Expand Up @@ -3237,6 +3236,7 @@
#include "customs\code\taushai.dm"
#include "customs\code\vezha.dm"
#include "customs\code\zakatneba.dm"
#include "infinity\code\modules\admin\buildmode\callproc.dm"
#include "interface\interface.dm"
#include "interface\skin.dmf"
#include "maps\_maps.dm"
Expand Down
8 changes: 3 additions & 5 deletions code/modules/admin/admin_verbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -583,12 +583,10 @@ var/list/admin_verbs_xeno = list(
if(!check_rights(R_ADMIN))
return

if(istype(CH, /datum/click_handler/build_mode))
CH.Exit()
QDEL_NULL(CH)
if(istype(mob.GetClickHandler(), /datum/click_handler/build_mode))
mob.RemoveClickHandler(/datum/click_handler/build_mode)
else
CH = new /datum/click_handler/build_mode(mob)
CH.Enter()
mob.PushClickHandler(/datum/click_handler/build_mode)

/client/proc/object_talk(var/msg as text) // -- TLE
set category = "Special Verbs"
Expand Down
File renamed without changes.

0 comments on commit 49ccb01

Please sign in to comment.