Facepunch / garrysmod-issues

Garry's Mod issue tracker
139 stars 56 forks source link

Autorefresh randomly breaking #2455

Open Donkie opened 8 years ago

Donkie commented 8 years ago

Has always worked fine for me in the past, but after recent garrysmod updates it has started behaving weirdly.

Windows 10 I'm using sublime 3, with atomic saving disabled. It's a gamemode, and it does not sit in any symbolic folder or any other folder fuckery

Unhandled Lua Refresh: [NAME:gamemodes/flood/gamemode/cl_huds.lua] [TYPE:!UNKNOWN]
Unhandled Lua Refresh: [NAME:gamemodes/flood/gamemode/cl_huds.lua] [TYPE:!UNKNOWN]

(It's printed twice per save attempt)

File is included like normal in cl_init: include("cl_huds.lua")

Running lua_openscript_cl on said file updates it just fine.

Gmod version 2016.02.03

Donkie commented 8 years ago

Hasn't happened since last update, either that update fixed it or it's magically fixed.

Will reopen if I notice it again.

Kefta commented 8 years ago

Still happens with modules and openscript files

robotboy655 commented 8 years ago

I don't think openscript'ed files and modules are meant to have auto refresh.

Kefta commented 8 years ago

They shouldn't be attempted to be auto refreshed then; an error is still printed.